resolver doesn't see resolv.conf changes

Lowell Gilbert freebsd-stable-local at be-well.ilk.org
Sat Apr 8 13:24:23 UTC 2006


Ulrich Spoerlein <spoerlein at googlemail.com> writes:

> Lyndon Nerenberg wrote:
> > The solution is to run a local caching nameserver instance.  You should do this anyway, for 
> > performance reasons. Add 'named_enable="YES"' to /etc/rc.conf, and modify your 
> > /etc/dhclient.conf as follows:
> 
> Good idea, but this defeates the hierarchical purpose of DNS. Now my
> caching DNS is always querying the root DNS servers.

I worked around that by having dhclient-script rewrite the named.conf
(to add a "forwarders" clause), and restart the named.  I don't have a
laptop any more, and this doesn't seem to be one of the scripts I keep
around in my web pages, but I could go back to old backups for it...


More information about the freebsd-stable mailing list