Date: Wed, 27 Oct 2004 19:05:47 -0600 From: Tillman Hodgson <tillman@seekingfire.com> To: freebsd-current@freebsd.org Subject: Re: dhclient trashes my resolv.conf Message-ID: <20041028010547.GP94897@seekingfire.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041028010547.GP94897>