Subject: Re: changing resolv.conf ?
To: None <tech-net@netbsd.org>
From: Atsushi Onoe <onoe@sm.sony.co.jp>
List: tech-net
Date: 07/27/2001 11:10:25
> 	i also fear there
> 	are applications that relies upon non-re-read of /etc/resolv.conf.
> 	i do this in operations - like, i want certain daemons to use
> 	nameserver A, while others to use nameserver B.  I change
> 	/etc/resolv.conf before invoking A, and after invoking A.

There is no guarantee that res_init(3) is called exactly once.  So I think
you rely on undocumented non-portable behavior, which can be changed.

res_init(3):
|      Initialization normally occurs on the first call to one of the following
                      ========
|      routines.

Atsushi Onoe