Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2005 02:17:04 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.ORG>
To:        "Matthew N. Dodd" <mdodd@FreeBSD.ORG>
Cc:        arch@FreeBSD.ORG
Subject:   Re: [CFR] reflect resolv.conf update to running application
Message-ID:  <ygeu0gzbfjj.wl%ume@mahoroba.org>
In-Reply-To: <20050826202713.X1915@sasami.jurai.net>
References:  <ygefyt4yiaz.wl%ume@mahoroba.org> <20050826202713.X1915@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Fri, 26 Aug 2005 20:29:39 -0400 (EDT)
>>>>> "Matthew N. Dodd" <mdodd@FreeBSD.ORG> said:

mdodd> On Sat, 20 Aug 2005, Hajimu UMEMOTO wrote:
> Our resolver reads resolv.conf once, and never re-read it.  Recent 
> OpenBSD changed to re-read resolv.conf when it is updated.  I believe it 
> is useful specially for mobile environment.

mdodd> The more useful solution is to run a local caching nameserver that 
mdodd> forwards to the DHCP or location specific nameservers.

I was using this solution for several years, but I prefered to use
totd.  Since I thought this was overkill, I mode the patch.

mdodd> I've got modifications to dhclient-script and a Makefile in /etc/namedb/ 
mdodd> that implement this behavior.  I'll clean it up for public consumption if 
mdodd> others are interested.

Not only dhclient updates resolv.conf, but ppp, mpd and perhaps others
do.  I'm using dhclient and ppp on my laptops.  Sometimes, I use
DHCPv6, too.  So, I need such setting for each applications.  It is
messy to setup a laptop.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygeu0gzbfjj.wl%ume>