How to stop NetworkManager from frobbing my /etc/resolv.conf

Tom Horsley horsley1953 at gmail.com
Sun Sep 26 20:27:52 UTC 2010


On Sun, 26 Sep 2010 09:56:34 -0700
Craig White wrote:

> PEERDNS=no

Which you have to put in each ifcfg-* script managed by
NetworkManager.

Or if you are lazy you can always use the giant hammer:

chattr +i /etc/resolv.conf

(which I've had to do on some linux distros that grant
the resolve.conf update algorithms the protection of
the Obfuscation Gods :-).


More information about the users mailing list