[PATCH] Custom resolv.conf
Jakub Jelinek
jakub@redhat.com
Wed Sep 15 19:15:00 GMT 2004
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
More information about the Libc-alpha
mailing list