Re: NetworkManager vs Cacheing nameserver

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

 



On Tue, 05 Jan 2010 00:39:26 +0000
Patrick O'Callaghan wrote:

> How does one convince NM not to interfere with resolv.conf?

Don't know for sure how to make interfaces managed by NM
stop doing it, but for my non-NM system I still have to
prevent resolv.conf from being scrogged by setting

PEERDNS=no

in my /etc/sysconfig/network-scripts/ifcfg-eth0 file.

Note that after you change this (if it works) you may still
have to fix the resolv.conf file two or three more times
after reboots because it has the old version of resolv.conf
stashed somewhere and keeps copying it back even after you
change the PEERDNS option.

The big hammer for preventing resolv.conf mods (and
other files as well) is:

chattr +i /etc/resolv.conf

not even root can change it after that (though root
can do a chattr -i to put it back the way it was).

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux