This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Custom resolv.conf
On Wed, Sep 15, 2004 at 09:04:23PM +0200, Petter Reinholdtsen wrote:
> [Ulrich Drepper]
> > This only means the handling of this file in your system leaves a
> > lot to wish for. The file should be rewritten/updated automatically
> > when you connect to a different network.
>
> How do you get this to work for long-running processes? As far as I
> know, glibc will never re-read /etc/resolv.conf when the file changes.
You should be running nscd, rewrite /etc/resolv.conf on
connecting/disconnecting from network and then nscd -i hosts.
Jakub