From owner-freebsd-questions@FreeBSD.ORG Thu Mar 16 21:40:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6002316A400 for ; Thu, 16 Mar 2006 21:40:00 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (94-37-237-24.gci.net [24.237.37.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id E67B143D45 for ; Thu, 16 Mar 2006 21:39:57 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 95F515DC4; Thu, 16 Mar 2006 12:39:55 -0900 (AKST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.0 Received: from [192.168.2.131] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id 1B1D65CAC; Thu, 16 Mar 2006 12:39:53 -0900 (AKST) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Thu, 16 Mar 2006 12:39:47 -0900 User-Agent: KMail/1.9.1 References: <4419D8C9.4010005@greenmeadow.ca> In-Reply-To: <4419D8C9.4010005@greenmeadow.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1909375.STouRHbEAk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603161239.50946.beech@mangohealth.org> Cc: Duane Whitty Subject: Re: resolv.conf getting rewritten at system startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 21:40:00 -0000 --nextPart1909375.STouRHbEAk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 16 March 2006 12:29, Duane Whitty wrote: > Hi all, > > I am running FBSD 6.0-RELEASE > > I use DHCP to configure my network interface. > At startup my resolv.conf is overwritten, setting my > nameserver to the address of the router running DHCP. > > I tried commenting out almost all of the rc.d/resolv > startup script but to no avail. > > I read the man page for dhcp-options and then proceeded to add > option domain-name-servers a.b.c.d > This was also of no help. > > I then remembered something about FBSD 6 no longer using ISC dhcp client. > > I am running BIND 9.3.1 with internal and external views of my namespace > set-up so > it is imperative that I be able to tell hosts on the internal network > which name server > to use. > > If anyone has any ideas I'd appreciate the help. > You need to use supersede like this: interface "ath0" { supersede domain-name "yourdomain.com"; supersede domain-name-servers 127.0.0.1; } See man dhclient.conf for more options. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart1909375.STouRHbEAk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEGdsm2TFLCHYGSF0RAp7XAJ0daE2Hn1AMXIC/55FU+Y2Sd+s0uwCfQyFw ffFQH2XtStJJuR5Aj5ybJWk= =suNX -----END PGP SIGNATURE----- --nextPart1909375.STouRHbEAk--