Subject: Re: reloading /etc/resolv.conf
To: Jeremy C. Reed <reed@reedmedia.net>
From: Bill Squier <groo@old-ones.com>
List: netbsd-help
Date: 02/25/2003 21:17:24
On Tue, Feb 25, 2003 at 06:12:50PM -0800, Jeremy C. Reed wrote:
> > That's not true.  _PATH_RESCONF is only loaded at resolver library init time
> > (first use of a resolver function) and isn't reloaded after that.  Processes
> > using the libc resolver will not see changes to /etc/resolv.conf after its
> > initial reading of it.
> 
> Tell us more.

It's not clear to me what 'more' you want me to tell you.  That's how it works
now.  That's how ~any BIND 4/8 libc resolver works now.

Should it kqueue on /etc/resolv.conf and reload if changes?  Probably.

-- 
Bill Squier (groo@old-ones.com)                          http://www.netbsd.org

        I know I don't deserve another chance, but this _is_ America,
        and as an American, aren't I entitled to one?  --Sideshow Bob.