about ns record in child domain

Tech W. techwww at yahoo.com.cn
Sun Apr 12 02:42:35 UTC 2009


Greetings,

I have a domain said example.com.
in example.com's main DNS I added a NS record:

cdn.example.com.  IN  NS  otherdns.example.com.
otherdns.example.com.  IN  A  12.34.56.78


Then in DNS of otherdns.example.com, I set something in named.conf like:

      zone "cdn.example.com" {
           type master;
           file "/var/cdn.example.com.db";
      };

in cdn.example.com.db:

www.cdn.example.com.  IN  A  11.22.33.44
mail.cdn.example.com   IN  A  xx.xx.xx.xx
...


But, my question is, how can I add NS records for zone itself of cdn.example.com? I mean, I can't add something like this in cdn.example.com.db:

otherdns.example.com.  IN  A  12.34.56.78
(this NS item was defined in example.com's main dns.)


Please help, thanks!

Regards.
Ken.




      The new Internet Explorer 8 optimised for Yahoo!7: Faster, Safer, Easier.



More information about the bind-users mailing list