Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2006 18:44:22 +0200
From:      Ulrich Spoerlein <spoerlein@googlemail.com>
To:        stable@freebsd.org
Subject:   Re: resolver doesn't see resolv.conf changes
Message-ID:  <20060409164422.GD2956@roadrunner.q.local>
In-Reply-To: <447j6041qh.fsf@be-well.ilk.org>
References:  <20060405152718.GA1003@roadrunner.q.local> <20060406153938.C78654@orthanc.ca> <20060408083955.GA1041@roadrunner.q.local> <4464lki4jg.fsf@be-well.ilk.org> <447j6041qh.fsf@be-well.ilk.org>

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

--kVXhAStRUZ/+rrGn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Lowell Gilbert wrote:
> Lowell Gilbert <freebsd-stable-local@be-well.ilk.org> writes:
> > Ulrich Spoerlein <spoerlein@googlemail.com> writes:
> > > Lyndon Nerenberg wrote:
> > > > The solution is to run a local caching nameserver instance.  You sh=
ould do this anyway, for=20
> > > > performance reasons. Add 'named_enable=3D"YES"' to /etc/rc.conf, an=
d modify your=20
> > > > /etc/dhclient.conf as follows:
> > >=20
> > > Good idea, but this defeates the hierarchical purpose of DNS. Now my
> > > caching DNS is always querying the root DNS servers.
> >=20
> > I worked around that by having dhclient-script rewrite the named.conf
> > (to add a "forwarders" clause), and restart the named.  I don't have a
> > laptop any more, and this doesn't seem to be one of the scripts I keep
> > around in my web pages, but I could go back to old backups for it...
>=20
> Oh, look I found it.  This was with the old (ISC) dhclient, but I
> think it should work with the current one also. =20
>
> [snip]
>=20
> It's a bit of a hack, but it lets you use the DHCP-supplied nameserver
> without any glitches when the address for that server changes under
> you. =20

Great, I though about something equally myself, as a cacheing nameserver
would surely be handy. I'll give it a shot, but perhaps I can live with
the simple append/prepend stuff for split DNS. I'll see how it goes.

Thanks to all for the various suggestions.

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--kVXhAStRUZ/+rrGn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEOTnl524iJyD+6d0RAnlwAJ9H7Z/HlQ4fhAVu+n0iI+KvaGTy/gCff+p1
uB0CXQIQ2sHCPm2npUixq/o=
=zWvt
-----END PGP SIGNATURE-----

--kVXhAStRUZ/+rrGn--



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