dhclient trashes my resolv.conf

Oliver Lehmann lehmann at ans-netz.de
Wed Oct 27 22:09:35 PDT 2004


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/


More information about the freebsd-current mailing list