Date: Sat, 08 Apr 2006 01:10:39 +0900 From: Hajimu UMEMOTO <ume@freebsd.org> To: Ulrich Spoerlein <spoerlein@googlemail.com> Cc: stable@freebsd.org Subject: Re: resolver doesn't see resolv.conf changes Message-ID: <ygefykpv01s.wl%ume@mahoroba.org> In-Reply-To: <20060405152718.GA1003@roadrunner.q.local> References: <20060405152718.GA1003@roadrunner.q.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> On Wed, 5 Apr 2006 17:27:19 +0200 >>>>> Ulrich Spoerlein <spoerlein@googlemail.com> said: spoerlein> Is the resolver supposed to periodically check for updates to the spoerlein> resolv.conf, or are the applications somehow caching the IP of the DNS spoerlein> server? Traditionally, the resolver doesn't reread resolv.conf. It is not useful for especially mobile environment. So, I wrote a patch to reread resolv.conf in past. Recently, I noticed that it could be implemented as a NSS plug-in, and made it just today. You can get it from: http://www.imasy.or.jp/FreeBSD/nss_resinit-20060408.tar.gz I don't write any documentation, yet. But, it should work by changing `hosts' entry in /etc/nsswitch.conf to the following line: hosts: resinit files dns It seems working on my 7-CURRENT box and 6-STABLE box. However, it should be tested more. 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?ygefykpv01s.wl%ume>