resolv.conf and dhclient
Pete French
petefrench at ticketswitch.com
Mon Jun 5 12:56:23 UTC 2006
> What is the best approach to keep dhclient from overwriting
> /etc/resolv.conf every time it gets a new lease on an IP address?
in /etc/dhclient.conf add a couple of lines:
supersede domain-name "mydomain";
supersede domain-name-servers 192.168.3.1;
replacing as appropoiate...
> has been a frustrating search as Google has turned up next to nothing
'man dhclient' would have been a better starting point :-)
-pcf.
More information about the freebsd-stable
mailing list