From owner-freebsd-questions@FreeBSD.ORG Sat Nov 13 05:34:24 2004 Return-Path: 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 40DE216A4CE for ; Sat, 13 Nov 2004 05:34:24 +0000 (GMT) Received: from dnsmail1.ior.navy.mil (nocb.ior.navy.mil [205.56.210.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC79B43D1D for ; Sat, 13 Nov 2004 05:34:19 +0000 (GMT) (envelope-from JohnsoBS@vicksburg.navy.mil) Received: from cg69ubd01.vicksburg.navy.mil ([205.95.65.21]) iAD5WORS018191; Sat, 13 Nov 2004 05:32:27 GMT Received: by CG69UBD01 with Internet Mail Service (5.5.2657.72) id ; Sat, 13 Nov 2004 08:37:30 +0300 Message-ID: From: JohnsoBS@vicksburg.navy.mil To: bsd-questions@andsmith.com, freebsd-questions@freebsd.org Date: Sat, 13 Nov 2004 08:37:30 +0300 X-Mailer: Internet Mail Service (5.5.2657.72) Subject: RE: DHCP & nameservers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 05:34:24 -0000 Edit /sbin/dhclient-script and comment out the make_resolve_conf() { } This will take out the portion of the script that edits resolve.conf "People will accept your idea much more readily if you tell them Benjamin Franklin said it first." > -----Original Message----- > From: Andrew Smith [mailto:bsd-questions@andsmith.com] > Sent: Saturday, November 13, 2004 7:26 AM > To: freebsd-questions@freebsd.org > Subject: DHCP & nameservers > > > I'm using my FreeBSD box as the gateway machine for my cable modem. > Obviously the cable modem side has to be set as DHCP, which > automaticlly > sets the DNS nameservers in resolve.conf. > > However I am running a caching name server on the box, and > would like to > have resolve.conf only point to local host. Is there any way > to keep DHCP > from updating resolve.conf? > > Thanks in advance, > > Andrew > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >