From owner-freebsd-questions@FreeBSD.ORG Thu Mar 16 22:09:22 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 E5C8516A401 for ; Thu, 16 Mar 2006 22:09:22 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E0F243D53 for ; Thu, 16 Mar 2006 22:09:22 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IW800EVZQTHHJE0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Thu, 16 Mar 2006 18:08:05 -0400 (AST) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip01.eastlink.ca with ESMTP; Thu, 16 Mar 2006 18:09:23 -0400 Date: Thu, 16 Mar 2006 18:08:28 -0400 From: Duane Whitty In-reply-to: <200603161239.50946.beech@mangohealth.org> To: Beech Rintoul Message-id: <4419E1DC.9040706@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: <4419D8C9.4010005@greenmeadow.ca> <200603161239.50946.beech@mangohealth.org> User-Agent: Thunderbird 1.5 (X11/20060309) Cc: freebsd-questions@freebsd.org 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 22:09:23 -0000 Beech Rintoul wrote: > 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 > Hi, That worked perfectly. Thanks to all for the quick responses. Sincerely, Duane