/etc/resolv.conf overwritten by what?
FreeBSD at ShaneWare.Biz
Mon Dec 31 03:17:13 UTC 2018
On 31/12/18 3:45 am, Mike Clarke wrote:
> 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 22.214.171.124
>> nameserver 126.96.36.199
>> 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
Yeah this can get confusing, there are two config files - resolv.conf
and resolvconf.conf and the command resolvconf.
resolvconf reads resolvconf.conf to generate resolv.conf
As suggested you can disable the generation of resolv.conf or you can
adjust resolvconf.conf so that it generates resolv.conf the way you want.
FreeBSD - the place to B...Software Developing
More information about the freebsd-questions