/etc/resolv.conf overwritten by what?

Mike Clarke mike at milibyte.co.uk
Sun Dec 30 17:20:12 UTC 2018


On Friday, 28 December 2018 15:15:54 GMT James B. Byrne via freebsd-questions wrote:
> Something changed the contents of /etc/resolv.conf from this:
> 
> search hamilton.harte-lyne.ca harte-lyne.ca
> # nameserver ::216:33
> # nameserver ::216:34
> # nameserver 127.0.0.1
> nameserver 216.185.71.33
> nameserver 216.185.71.34
> options edns0 timeout:5 attempts:3
> 
> to this:
> 
> # Generated by resolvconf
> search localdomain

You need to add a line containing resolvconf=NO to /etc/resolvconf.conf.

man 5 resolvconf.conf

-- 
Mike Clarke


More information about the freebsd-questions mailing list