Hey, I was hoping for some help in setting up an interesting DNS setup. I've got a group of virtual machines set up. Right now the DNS is all set up for blah.main.edu (no not the actual subdomain and domain names, but they serve their purpose ) However, I am trying to set up boom.blah.main.edu to be a nameserver itself, however i want boom.blah.main.edu to define the new.blah.main.edu (yes I know I could just define new in blah.main.edu but that does not serve the purpose we are attempting to achieve. therefore looking up new.blah.main.edu would send you to blah.main.edu which would send you to boom.blah.main.edu which contains the A record for new.blah.main.edu. /etc/bind/zones/blah.db: blah.main.edu. IN SOA ns1.blah.main.edu. rgutie01.main.edu. ( 2008061101 ; serial 28800 ; refresh 3600 ; retry 604800 ; expire 38400 ; default_ttl ) IN A 128.210.230.11 IN NS ns1.blah.main.edu. ns1 IN A 128.210.230.11 boom IN NS boom.blah.main.edu. boom IN A 128.210.230.55 new IN NS boom.blah.main.edu. ;end file On the other machine: /etc/bind/zones/boom.db boom.blah.main.edu. IN SOA ns.boom.blah.main.edu. [email protected] ( 2008070308 ; serial 28800 ; refresh 3600 ; retry 604800 ; expire 38400 ; default_ttl ) IN A 128.210.230.55 IN NS ns.boom.blah.main.edu. ns IN A 128.210.230.55 new.blah.main.edu. 0 IN A 128.238.150.50 0 IN A 128.238.150.51 0 IN A 128.238.150.52 ;endfile as you see it creates a round robin on new.blah.main.edu on three different servers. Now, if i copy and paste that line into blah.db, it makes new.blah.main.edu work perfectly fine. But i want it to use the dns located on boom.blah.main.edu. Is this possible? thanks in advance to anyone that can help.
I think what you need is a glue record: http://en.wikipedia.org/wiki/Domain_Name_System#Circular_dependencies_and_glue_records
Looking at the definition of the glue records. I don't have a circular dependency. I think that there's something wrong with defining new.blah.main.edu inside of boom.blah.main.edu. Perhaps not allowed to define a different subdomain from itself? I don't know. I only just thought of that idea. The glue record is already there boom IN NS boom.blah.main.edu. boom IN A 128.210.230.55 new IN NS boom.blah.main.edu. boom.blah.main.edu is already defined there before using it in new.