Click to See Complete Forum and Search --> : bind/dns/rdns problems


[K]Freak
01-04-2003, 03:59 PM
Ok. I recently got a dedicated server, I've been able to do everything that I wanted so far, except setup my own dns. Just to keep things simple I'm going to say I have 1.1.1.1-1.1.1.10. Now, I'm already running bind and everything, its just setting it up thats the problem.

I have my domain hosted at godaddy.com, so I register

ns1.creationcorner.org -> 1.1.1.1
ns2.creationcorner.org -> 1.1.1.1

My first question is, does creationcorner.org have to be hosted from this box? I have webhosting with another company, and I am using there name servers.

Then I pico /etc/named.conf and this is what I have (btw, using code tags so its easier to read):


options {
directory "/etc/namedb";
version "Not available.";
};

zone "0.0.127.IN-ADDR.ARPA" {type master; file "localhost.rev";};
zone "." {type hint; file "named.root";};

# primary dns
zone "creationcorner.org" { type master; file "db.creationcorner.org";};


This is where I get really confused. Then in /etc/namedb/db.creationcorner.org I put:


@ IN SOA ns1.creationcorner.org. domreg.creationcorner.org. (5005050690 15M 60M 07D 01D )

IN NS ns1.creationcorner.org.
IN NS ns2.creationcorner.org.
IN A 1.1.1.1
IN MX 10 mail
* IN A 1.1.1.1


If in fact this is all correct (yea right ;)), I'm lost at how to setup the dns/rdns like:

kfreak.creationcorner.org -> 1.1.1.2
1.1.1.2 -> kfreak.creationcorner.org


Also how do I update it? Like make it take effect. Just save it and wait 24 hours?

Any and all help is greatly appreciated.

- kfreak