/etc/resolv.conf getting over written with dhcp
Eugene Grosbein
eugen at grosbein.net
Fri Jun 15 14:15:08 UTC 2012
15.06.2012 19:09, Varuna пишет:
> About 2***, so what are the conditions to be true to figure out that
> /etc/resolv.conf has not changed?
There is simple solution: create file /etc/dhclient-enter-hooks
and override add_new_resolv_conf() there to do nothing:
add_new_resolv_conf() {
return 0
}
Works just fine for my systems.
Eugene Grosbein
More information about the freebsd-hackers
mailing list