rootserver info

Peter Dambier peter at peter-dambier.de
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 google.com, yahoo.com). 
> 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 "myroot.zone";
};



In the file myroot.zone

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



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: sipgate.de)
mail: peter at peter-dambier.de
mail: peter at echnaton.arl.pirates
http://iason.site.voila.fr/
https://sourceforge.net/projects/iason/
http://www.cesidianroot.com/



More information about the bind-users mailing list