HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Root Name Server + TLD Server (

rs87 3rd November 2012 20:34

Root Name Server + TLD Server
Im doing an assignment for DNS on Ubuntu 10 using BIND9. Everything is on an internal network with private IP addresses and not access to the internet.
I have set up my own root name server (.) and a top level domain server (com). I also have another server configured for In the root name server's zone file I have the A record for the TLD server (com) and when I do "nslookup com" I get the address of the root name server and then the correct address of the com server. When I do "nslookup" I get the output "server cant find NXDOMAIN".

What I want to do is when I do "nslookup" I want it to return the IP address of the top level domain (com) server. I dont want to include the A record of in the root zone file because then it will give me the address of and not com. Can any please tell me how I can do this?

Here is the zone file of my root name server:
$TTL 604800
@ IN SOA (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
com. IN A

All times are GMT +2. The time now is 10:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.