resolver doesn't see resolv.conf changes

Ulrich Spoerlein spoerlein at googlemail.com
Sun Apr 9 16:44:50 UTC 2006


Lowell Gilbert wrote:
> Lowell Gilbert <freebsd-stable-local at be-well.ilk.org> writes:
> > 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...
> 
> Oh, look I found it.  This was with the old (ISC) dhclient, but I
> think it should work with the current one also.  
>
> [snip]
> 
> It's a bit of a hack, but it lets you use the DHCP-supplied nameserver
> without any glitches when the address for that server changes under
> you.  

Great, I though about something equally myself, as a cacheing nameserver
would surely be handy. I'll give it a shot, but perhaps I can live with
the simple append/prepend stuff for split DNS. I'll see how it goes.

Thanks to all for the various suggestions.

Ulrich Spoerlein
-- 
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060409/abf2627c/attachment.pgp


More information about the freebsd-stable mailing list