resolv.conf and dhclient
Chuck Swiger
cswiger at mac.com
Mon Jun 5 12:51:29 UTC 2006
Thomas T. Veldhouse wrote:
> What is the best approach to keep dhclient from overwriting
> /etc/resolv.conf every time it gets a new lease on an IP address?
Perhaps:
chflags schg /etc/resolv.conf
> This has been a frustrating search as Google has turned up next to nothing on
> the issue other than a hack into a script file which should be
> overwritten when world is rebuilt.
Changing /etc/dhclient.conf would not be overwritten just because you do a
buildworld, but you would need to pay attention when using mergemaster.
--
-Chuck
More information about the freebsd-stable
mailing list