Subject: lib/23485: libc resolver should reload resolv.conf if it changes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 11/18/2003 14:11:58
>Number: 23485
>Category: lib
>Synopsis: libc resolver should reload resolv.conf if it changes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Nov 18 22:12:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Jason R Thorpe
>Release: NetBSD 1.6ZD
>Organization:
-- Jason R. Thorpe <thorpej@shagadelic.org>
>Environment:
System: NetBSD yeah-baby.shagadelic.org 1.6ZD NetBSD 1.6ZD (YEAH-BABY-XP) #21: Thu Oct 16 15:47:17 PDT 2003 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
The libc resolver currently loads resolv.conf once. If resolv.conf
changes, any process that has already used the resolver needs to be
restarted in order to notice the changes.
This is problematic in certain environments where it may be necessary
to change the DNS configuration but where the serivces provided by
the applications on the system are critcal and cannot be interrupted.
>How-To-Repeat:
Start a long-running process, change DNS configuration, notice
how the long-running process does not see the changes.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: