From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 05:09:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E10216A4CE for ; Thu, 28 Oct 2004 05:09:35 +0000 (GMT) Received: from dill.salatschuessel.net (pD95FD812.dip.t-dialin.net [217.95.216.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF51F43D2D for ; Thu, 28 Oct 2004 05:09:33 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 7529 invoked by uid 89); 28 Oct 2004 05:10:02 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (olivleh1@dill.salatschuessel.net@10.0.1.51) by dill.salatschuessel.net with SMTP; 28 Oct 2004 05:10:02 -0000 Date: Thu, 28 Oct 2004 07:10:01 +0200 From: Oliver Lehmann To: freebsd-current@freebsd.org Message-Id: <20041028071001.44ad2f43.lehmann@ans-netz.de> In-Reply-To: <20041027233044.GA80915@dragon.nuxi.com> References: <20041027224512.2e3b2ae8.lehmann@ans-netz.de> <20041027204852.GY95878@horsey.gshapiro.net> <20041027230039.7a5d0150.lehmann@ans-netz.de> <20041027210303.GZ95878@horsey.gshapiro.net> <20041027233309.122e4207.lehmann@ans-netz.de> <20041027214224.GA60882@dragon.nuxi.com> <20041028002251.73eae308.lehmann@ans-netz.de> <20041027233044.GA80915@dragon.nuxi.com> X-Mailer: Sylpheed version 0.9.99 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: mbr@freebsd.org Subject: Re: dhclient trashes my resolv.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 05:09:35 -0000 David O'Brien wrote: > On Thu, Oct 28, 2004 at 12:22:51AM +0200, Oliver Lehmann wrote: > > > Why don't you just 'man 5 dhclient.conf' and do things right?? > > > > I've tried supersede domain-name-servers ""; in /etc/dhclient.conf, > > But > > Rather than a blank string, have you tried putting in the actual name > servers you want to use? dhclient will still write a resolv.conf for > you; but it will put the content you want in /etc/resolv.conf with these > directives. Problem is, I have "options" in my resolv.conf which will be still lost then. -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/