[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does resolv.conf keep changing?



Roberto C. Sánchez wrote on 10/23/17 04:12:
<snip>
> I have tried two different things.  First, I added this directive to
> /etc/network/interfaces under the eth0 stanza:
> 
>         dns-nameservers 127.0.0.1
> 
> 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
        dns-nameserver 127.0.0.1

without trailing 's'.

Regards,
jvp.


Reply to: