Subject: Re: changing resolv.conf ?
To: Atsushi Onoe <onoe@sm.sony.co.jp>
From: Assar Westerlund <assar@netbsd.org>
List: tech-net
Date: 07/31/2001 01:14:11
Atsushi Onoe <onoe@sm.sony.co.jp> writes:
> > But what would be the point of calling res_init in that case?
>
> Just to make sure to fall back the default behavior of non-existing
> resolv.conf: try local nameserver.
I see a problem with programs that do res_init() - chroot() and then
expect to be able to resolve hostnames. Requiring all of them to add
a /etc/resolv.conf to their chroot tree that's not really expected.
/assar