rootserver info

Peter Dambier peter at
Mon May 21 07:13:32 UTC 2007

kalyanasundaram S wrote:
> Hi all,
>   Cant we start the dns server with out rootserver info. (root.hints) If i completely delete this file dns fails to come up. I wanted to resolve only the internal name. I dont want to resolve other names (like, 
> I have seen in the code as well in some place these root server info being hard coded. What for that being used? 
> Thanks,
>   -"kalyan"

In /etc/named.conf

# zone "." in {
#   type hint;
#   file "/etc/root.hint";
# };

zone "." in {
   type master;
   file "";

In the file

.         7200    IN      SOA     myserver. admin.myserver. 2007051501 7200 7200 604800 7200
.         3600    IN      NS      myserver.
myserver. 86400   IN      A

replace myserver with the name of your server. Dont forget the "." at the end.
Insert your ip address.

Maybe this is not optimum, because now your server answers every query.
For all queries outside you domain it returns NDXOMAIN.

Kind regards
Peter and Karin

Peter and Karin Dambier
Cesidian Root - Radice Cesidiana
Rimbacher Strasse 16
D-69509 Moerlenbach-Bonsweiher
+49(6209)795-816 (Telekom)
+49(6252)750-308 (VoIP:
mail: peter at
mail: peter at echnaton.arl.pirates

More information about the bind-users mailing list