Re: dhclient trashes my resolv.conf

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Thu, 28 Oct 2004 07:10:01 +0200
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/
Received on Thu Oct 28 2004 - 03:09:35 UTC

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