From owner-freebsd-arch@FreeBSD.ORG Sat Aug 27 17:06:01 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75E1A16A41F; Sat, 27 Aug 2005 17:06:01 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2230243D45; Sat, 27 Aug 2005 17:06:01 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j7RH60SH010040; Sat, 27 Aug 2005 10:06:00 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j7RH60YU010039; Sat, 27 Aug 2005 10:06:00 -0700 Date: Sat, 27 Aug 2005 10:06:00 -0700 From: Brooks Davis To: "Matthew N. Dodd" Message-ID: <20050827170600.GB14720@odin.ac.hmc.edu> References: <20050826202713.X1915@sasami.jurai.net> <20050827014153.GA14720@odin.ac.hmc.edu> <20050826221016.B1915@sasami.jurai.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline In-Reply-To: <20050826221016.B1915@sasami.jurai.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: arch@freebsd.org Subject: Re: [CFR] reflect resolv.conf update to running application X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2005 17:06:01 -0000 --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--