Subject: lib/23485: libc resolver should reload resolv.conf if it changes
To: None <>
From: None <>
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
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6ZD
        -- Jason R. Thorpe <>
System: NetBSD 1.6ZD NetBSD 1.6ZD (YEAH-BABY-XP) #21: Thu Oct 16 15:47:17 PDT 2003 i386
Architecture: i386
Machine: i386
	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.

	Start a long-running process, change DNS configuration, notice
	how the long-running process does not see the changes.