Subject: Re: re-reading /etc/resolv.conf on change
To: Manuel Bouyer <email@example.com>
From: Steven M. Bellovin <firstname.lastname@example.org>
Date: 01/06/2004 15:04:04
In message <20040106195222.GG1246@antioche.eu.org>, Manuel Bouyer writes:
>On Tue, Jan 06, 2004 at 02:45:34PM -0500, Greg A. Woods wrote:
>> [ On Tuesday, January 6, 2004 at 20:27:05 (+0100), Manuel Bouyer wrote: ]
>> > Subject: Re: re-reading /etc/resolv.conf on change
>> > No, the changes should be picked up immediatly, otherwise you may end
>> > up waiting for nameserver timeouts, which isn't good.
>> One waits for nameserver timeouts often enough regardless -- i.e. I
>> don't think this is an issue from a human factors point of view.
>I disagree. It's really annoying.
>Worse, you can get wrong values if you query a nameserver from the outside
>which allows recursions only for the inside.
I agree. I got annoyed enough that I now hard-wire resolv.conf on my
laptop to point to 127.0.0.1, and have dhclient (via dhclient-enter-hooks)
modify the 'forwarders' entry in named.conf and restart named.
--Steve Bellovin, http://www.research.att.com/~smb