News:

Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!

Main Menu

Name Server

Started by Sidoh, September 22, 2005, 09:47:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sidoh

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.

Quik

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

Sidoh

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

iago

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. 


Quik

Quote from: iago on September 23, 2005, 12:13:10 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

Sidoh

I got lazy and bought an account on dnsalias.com.  :)

iago

Quote from: Quik on September 23, 2005, 12:48:24 AM
Quote from: iago on September 23, 2005, 12:13:10 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. 

Sidoh

My Linux box already runs the no-ip client, but I figured since you recommended dyndns that it was better :p

Sidoh

Works!

http://www.sidoh.org/ !

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

iago

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. 

Sidoh

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.  :)

iago

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. 

Sidoh

Quote from: iago 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. 

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

iago

Apparently I'm using ddclient. 

Sidoh