Subject: Re: re-reading /etc/resolv.conf on change
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-userlevel
Date: 01/06/2004 20:27:05
On Tue, Jan 06, 2004 at 01:27:27PM -0500, Greg A. Woods wrote:
> [...]
> 
> A better alternative would be to re-initialize it at most once every 60
> seconds.  (Why 60 seconds?  Well it's a very reasonable value given
> various aspects of the data being returned as well as given the human
> factors involved.)
> 
> Another alternative would be to re-initialize it only if an error is
> returned by a lower-level routine.

No, the changes should be picked up immediatly, otherwise you may end
up waiting for nameserver timeouts, which isn't good.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--