Subject: Re: reloading /etc/resolv.conf
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 02/26/2003 10:25:03
Jason R Thorpe <thorpej@wasabisystems.com> writes:
> On Tue, Feb 25, 2003 at 09:25:12PM -0500, Bill Squier wrote:
>  > > Why kqueue it?  Just stat it before you do a DNS lookup.
>  > 
>  > Yeah, or that.  It all seems a bit expensive.
> 
> Eh, a stat is nothing compared to sending a DNS request and receiving
> a reply :-)

A kqueue seems even cheaper, though, and probably good practice...

Perry