Re: Why does resolv.conf keep changing?
- Date: Mon, 23 Oct 2017 12:04:36 +0200
- From: Jörg-Volker Peetz <jvpeetz@xxxxxx>
- Subject: 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 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
without trailing 's'.