Re: dhclient trashes my resolv.conf

From: Tillman Hodgson <tillman_at_seekingfire.com>
Date: Wed, 27 Oct 2004 19:05:47 -0600
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
Received on Wed Oct 27 2004 - 23:05:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC