dhclient trashes my resolv.conf

Oliver Lehmann lehmann at ans-netz.de
Wed Oct 27 14:00:14 PDT 2004


Gregory Neil Shapiro wrote:

> Putting this in /etc/dhclient-enter-hooks should prevent any resolv.conf
> changes:
> 
> !/bin/sh
> 
> # Don't replace /etc/resolv.conf
> make_resolv_conf() {
> }

that looks more like a hack than a clear solution (and I didn't tested it)

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-current mailing list