On 12/15/2010 06:36 AM, Jorge Fábregas wrote:
On Tuesday, December 14, 2010 03:21:57 pm S Mathias wrote:
- where does a local caching-nameserver get's it's information, about dns?
cat /etc/resolv.conf nameserver 127.0.0.1 nameserver 8.8.8.8
The caching nameserver won't use /etc/resolv.conf as far as I know. The way a caching nameserver finds about domain names is by asking the internet root servers. When you configure your caching ns you need to create a zone of type "hint" which will usually point to a file that contains the 13 root servers.
You are right. No name server "uses" /etc/resolv.conf.
resolv.conf is utilized by the "resolver libraries" to determine which nameservers are to be contacted as well as some other behavioral parameters. "man resolv.conf"