resolv.conf hijacking?

Mike mike.cloaked at gmail.com
Mon Sep 8 07:30:44 UTC 2008


Mike Chambers <mike <at> miketc.net> writes:

> Is the OP running NetworkManager?  If so, that is what is doing it.
> When it reboots, it erases the file, then when it connects, getting info
> via dhcp, or from ifcfg-X file and readding it.  I forget why it does
> that but was explained before by Dan Williams, the maintainer of it
> (think that is right).

If the OP is using network then in the /etc/sysconfig/network-scripts/ifcfg-eth0
file you can add 
PEERDNS=no
and then it will not change the resolv.conf as far as I know.

Of course if NetworkManager is being used then this may not work.





More information about the fedora-test-list mailing list