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
[-- Attachment #1 --] 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. > > I've not yet come up with a good way to configure this behavior, other > than the bit that turns of the resolv.conf updating (touch > /etc/dhclient-no-resolv-conf). > > /var/run/named.forwarders is updated with a Bind named.conf forwarders > configuration section containing all DHCP provided nameservers. The > Makefile is placed in /etc/namedb and /etc/namedb/named.conf is moved to > /etc/named.conf.in and modified to include the lines: > > forward only; > #include "/var/run/named.forwarders" > > This will cause the nameserver to never perform recursive queries directly > but to forward everything to the listed forwarders. > > I'm open to suggestions on where to place the configuration knobs for this > functionality. I'd like to see dhclient-script pull in /etc/rc.conf. By doing: . /etc/rc.subr load_rc_config dhclient-script -- Brooks -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDEJ13XY6L6fI4GtQRAqqHAKDFgu/WyZTUPBVUsldsDZ/1drTJ1QCfSMmE BWzyRwsFuew6C5ej5j2ZGLE= =OPNj -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050827170600.GB14720>
