Web lists-archives.com

Re: Why does resolv.conf keep changing?

Roberto C. Sánchez wrote on 10/23/17 04:12:
> I have tried two different things.  First, I added this directive to
> /etc/network/interfaces under the eth0 stanza:
>         dns-nameservers
> That did not appear to have any effect because taking eth0 and eth1 down
> and then bringing them back up still results in resolv.conf pointing to
> the ISP router as its name server.  Additionally, after the interfaces
> are up even if I manually change resolv.conf, something comes along
> sometime later and undoes my changes.

On testing with resolvconf the parameter in /etc/network/interfaces is

without trailing 's'.