From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 01:05:47 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 C51F016A4CE for ; Thu, 28 Oct 2004 01:05:47 +0000 (GMT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7DF43D39 for ; Thu, 28 Oct 2004 01:05:47 +0000 (GMT) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id 599D254E; Wed, 27 Oct 2004 19:05:47 -0600 (CST) Date: Wed, 27 Oct 2004 19:05:47 -0600 From: Tillman Hodgson To: freebsd-current@freebsd.org Message-ID: <20041028010547.GP94897@seekingfire.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041027233044.GA80915@dragon.nuxi.com> X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers User-Agent: Mutt/1.5.6i 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 01:05:47 -0000 On Wed, Oct 27, 2004 at 04:30:44PM -0700, 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. When I used to use dhclient I tried that. Didn't like it. There's more to resolv.conf than just server lines, and I didn't find hooks to put the other content in (the search directive especially). I'd love to find a clean way to have dhclient handle that--my search directive has 3 domains, and I need that capability. -T -- "Well, I wanna tell you people 'bout something I know. Money beats Soul. Everytime." -- Jim Morrison