Author Topic: Name Server  (Read 4908 times)

0 Members and 1 Guest are viewing this topic.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Name Server
« on: September 22, 2005, 09:47:43 pm »
Okay, I just bought www.sidoh.org and I'm wanting to run it off of my server.

I found a few tutorials and things on setting up DNS zone files, but I figured just posting here would be easier, since iago has obviously already done it!

Can anyone help me out here?  :)

Edit:  Oh yeah, might as well post the tutorial (more of a checklist, really) that I found.  It seems pretty straightforward, but it lacks a lot of detail.  I found some more specific ones one just setting up DNS zone files, but they were kind of confusing.
« Last Edit: September 22, 2005, 09:51:07 pm by Sidoh »

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Name Server
« Reply #1 on: September 22, 2005, 10:12:08 pm »
iago was going to give me the runthrough about this, it has to do with establishing some files which allow you to use dynamic dns via no-ip.org
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #2 on: September 22, 2005, 10:16:21 pm »
Actually, I think I may have found an easy way around this.

http://www.granitecanyon.com/

However, I'd still appreciate help on setting this up the right way if you would, iago.  :P

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Name Server
« Reply #3 on: September 23, 2005, 12:13:10 am »
I set it up once, at work.  I don't really remember how, except that I enabled /etc/rc.bind and edited /etc/bind.conf or something like that. 

x86labs.org and javaop.com are run as pointers to a dnsalias.com addess, and they're looked after at the other end, not by me.  Because of my dynamic ip, I can't run my own nameserver. 


Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Name Server
« Reply #4 on: September 23, 2005, 12:48:24 am »
x86labs.org and javaop.com are run as pointers to a dnsalias.com addess, and they're looked after at the other end, not by me. Because of my dynamic ip, I can't run my own nameserver.

That's what I was trying to explain, that's what Sidoh and myself both want to do. Please explain in more detail please.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #5 on: September 23, 2005, 01:44:28 am »
I got lazy and bought an account on dnsalias.com.  :)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Name Server
« Reply #6 on: September 23, 2005, 08:34:03 am »
x86labs.org and javaop.com are run as pointers to a dnsalias.com addess, and they're looked after at the other end, not by me. Because of my dynamic ip, I can't run my own nameserver.

That's what I was trying to explain, that's what Sidoh and myself both want to do. Please explain in more detail please.

It's pretty idiot proof. 

Actually, no-ip.com is easier.  You make an account, download their client, configure and run it.  Make sure it runs on boot.  It'll keep your ip up-to-date automatically. 

dyndns was more difficult.  I had to customize the client with a shellscript to get it to do what I needed. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #7 on: September 23, 2005, 09:16:20 am »
My Linux box already runs the no-ip client, but I figured since you recommended dyndns that it was better :p

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #8 on: September 23, 2005, 10:02:40 am »
Works!

http://www.sidoh.org/ !

Thanks, iago.  you get to help me set up the update client later!  <3 :-*

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Name Server
« Reply #9 on: September 23, 2005, 03:42:13 pm »
I stopped using no-ip because it stopped working for me.  My client was broken or something.  And my router supported dyndns out of the box, automatically, so I did that.  Now, however, my router that supports it is internal, so my dns would always end up pointng to 192.168.something.  So I installed the DynDns client, which was a royal pain, and now it works. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #10 on: September 23, 2005, 03:54:24 pm »
Now it looks like it's relatively easy.  I found the client on their website and used wget over SSH to download it to my server.  I need to extract/install it now, but we'll see.  :)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Name Server
« Reply #11 on: September 23, 2005, 03:55:26 pm »
They had 2 clients, when I tried, and neither worked right.  One of them would work kinda, but the scheduling didn't, so I had to write my own script to update every minute. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #12 on: September 23, 2005, 04:04:41 pm »
They had 2 clients, when I tried, and neither worked right.  One of them would work kinda, but the scheduling didn't, so I had to write my own script to update every minute. 

Mind giving me your script?  :-*

root@tehserver:/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/ginstall -c
checking return type of signal handlers... (cached) void
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for getopt_long... (cached) yes
checking for gethostbyaddr... (cached) yes
checking for getservbyname... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_ntoa... (cached) yes
checking for snprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for stat... (cached) yes
checking for vsprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for wait... (cached) yes
checking for waitpid... (cached) yes
checking for getpid... (cached) yes
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for getuid... (cached) yes
checking for geteuid... (cached) yes
checking for setuid... (cached) yes
checking for seteuid... (cached) yes
checking for getgid... (cached) yes
checking for getegid... (cached) yes
checking for setgid... (cached) yes
checking for setegid... (cached) yes
checking for inet_aton... (cached) yes
checking for herror... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for signal.h... (cached) yes
checking for syslog.h... (cached) yes
checking for pwd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for grp.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for getopt.h... (cached) yes
checking for unistd.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys_errlist in -lc... (cached) yes
checking for getopt... (cached) yes
checking for getpass... (cached) yes
checking host system type... i686-pc-linux-gnu
checking for user supplied default service... no
configure: warning: not setting default service
checking whether user wants debugging support... no
checking whether user wants to dissable MD5 support... no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
root@tehserver:/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7# make
gcc  -g -O2  -o ez-ipupdate  ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o
conf_file.o(.text+0x2f3): In function `parse_conf_file':
/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7/conf_file.c:88: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [ez-ipupdate] Error 1
root@tehserver:/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7# make check
gcc  -g -O2  -o ez-ipupdate  ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o
conf_file.o(.text+0x2f3): In function `parse_conf_file':
/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7/conf_file.c:88: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [ez-ipupdate] Error 1
root@tehserver:/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/ginstall -c
checking return type of signal handlers... (cached) void
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for getopt_long... (cached) yes
checking for gethostbyaddr... (cached) yes
checking for getservbyname... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_ntoa... (cached) yes
checking for snprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for stat... (cached) yes
checking for vsprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for wait... (cached) yes
checking for waitpid... (cached) yes
checking for getpid... (cached) yes
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for getuid... (cached) yes
checking for geteuid... (cached) yes
checking for setuid... (cached) yes
checking for seteuid... (cached) yes
checking for getgid... (cached) yes
checking for getegid... (cached) yes
checking for setgid... (cached) yes
checking for setegid... (cached) yes
checking for inet_aton... (cached) yes
checking for herror... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for signal.h... (cached) yes
checking for syslog.h... (cached) yes
checking for pwd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for grp.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for getopt.h... (cached) yes
checking for unistd.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys_errlist in -lc... (cached) yes
checking for getopt... (cached) yes
checking for getpass... (cached) yes
checking host system type... i686-pc-linux-gnu
checking for user supplied default service... no
configure: warning: not setting default service
checking whether user wants debugging support... no
checking whether user wants to dissable MD5 support... no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
root@tehserver:/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7# make
gcc  -g -O2  -o ez-ipupdate  ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o
conf_file.o(.text+0x2f3): In function `parse_conf_file':
/usr/pub/programs/DynDNS/ez-ipupdate-3.0.11b7/conf_file.c:88: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [ez-ipupdate] Error 1

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Name Server
« Reply #13 on: September 23, 2005, 04:07:41 pm »
Apparently I'm using ddclient. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Name Server
« Reply #14 on: September 23, 2005, 04:16:16 pm »
Ok, thanks iago.