Date: Sat, 27 Aug 2005 10:06:00 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: "Matthew N. Dodd" <mdodd@freebsd.org> Cc: arch@freebsd.org Subject: Re: [CFR] reflect resolv.conf update to running application Message-ID: <20050827170600.GB14720@odin.ac.hmc.edu> In-Reply-To: <20050826221016.B1915@sasami.jurai.net> References: <ygefyt4yiaz.wl%ume@mahoroba.org> <20050826202713.X1915@sasami.jurai.net> <20050827014153.GA14720@odin.ac.hmc.edu> <20050826221016.B1915@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 26, 2005 at 10:19:06PM -0400, Matthew N. Dodd wrote: > On Fri, 26 Aug 2005, Brooks Davis wrote: > >On Fri, Aug 26, 2005 at 08:29:39PM -0400, Matthew N. Dodd wrote: > >>I've got modifications to dhclient-script and a Makefile in /etc/namedb/ > >>that implement this behavior. I'll clean it up for public consumption = if > >>others are interested. > > > >Sounds useful to me. >=20 > I've not yet come up with a good way to configure this behavior, other=20 > than the bit that turns of the resolv.conf updating (touch=20 > /etc/dhclient-no-resolv-conf). >=20 > /var/run/named.forwarders is updated with a Bind named.conf forwarders=20 > configuration section containing all DHCP provided nameservers. The=20 > Makefile is placed in /etc/namedb and /etc/namedb/named.conf is moved to= =20 > /etc/named.conf.in and modified to include the lines: >=20 > forward only; > #include "/var/run/named.forwarders" >=20 > This will cause the nameserver to never perform recursive queries directl= y=20 > but to forward everything to the listed forwarders. >=20 > I'm open to suggestions on where to place the configuration knobs for thi= s=20 > functionality. I'd like to see dhclient-script pull in /etc/rc.conf. By doing: =2E /etc/rc.subr load_rc_config dhclient-script -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDEJ13XY6L6fI4GtQRAqqHAKDFgu/WyZTUPBVUsldsDZ/1drTJ1QCfSMmE BWzyRwsFuew6C5ej5j2ZGLE= =OPNj -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050827170600.GB14720>