dhclient trashes my resolv.conf
David O'Brien
obrien at freebsd.org
Wed Oct 27 16:30:54 PDT 2004
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.
--
-- David (obrien at FreeBSD.org)
More information about the freebsd-current
mailing list