Subject: Re: reloading /etc/resolv.conf
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-help
Date: 02/27/2003 10:48:33
> > Should it kqueue on /etc/resolv.conf and reload if changes?  Probably.
>
>Why kqueue it?  Just stat it before you do a DNS lookup.

why stat it?  you wanna reload it?  i've been known to exploit the
fact that it won't get reloaded so that applications get different
sets of name servers.

yes, there's chroot, but no, that's not really an answer for, say,
netscape.

:-/

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."