Subject: Re: re-reading /etc/resolv.conf on change
To: Manuel Bouyer <>
From: Steven M. Bellovin <>
List: tech-userlevel
Date: 01/06/2004 15:04:04
In message <>, 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, and have dhclient (via dhclient-enter-hooks)
modify the 'forwarders' entry in named.conf and restart named.

		--Steve Bellovin,