Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 14:22:40 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        YAMAMOTO Shigeru <shigeru@iij.ad.jp>
Cc:        current@FreeBSD.ORG
Subject:   Re: small patch for controlling resolver information cache
Message-ID:  <20030227142240.GA68435@walton.maths.tcd.ie>
In-Reply-To: <20030227.182531.108817955.shigeru@iij.ad.jp>
References:  <20030227.182531.108817955.shigeru@iij.ad.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 27, 2003 at 06:25:31PM +0900, YAMAMOTO Shigeru wrote:
> If seting 'RES_NOCACHE' to 'yes', any application reads /etc/resolv.conf at
> any DNS quering.

I wonder if it would be better to have a RES_CACHETIME, which you
can set in seconds and if it is set then you reread if the last
reread of resolv.conf was more than that number of seconds ago?
You could set it to zero to get it to reread every time.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227142240.GA68435>