Re: /etc/resolv.conf keeps getting changed
Dougie Nisbet <dougie@highmoor.co.uk> wrote:
> Every so often, presumably after an apt-get upgrade dist-upgrade, my
> /etc/resolv.conf file gets modified, and my DNS stops working. I then
> manually edit the file back to how I want, and say to myself, I Really
> Must Find Out What Causes That - then forget about it.
Are you running "pump" or some other DHCP client?
> Is there a way I can stop this file being modified automatically?
"chattr +i /etc/resolv.conf" will stop even root changing the file.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: