Mike wrote:
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.
It should but right now it doesn't (in rawhide):
https://bugzilla.redhat.com/show_bug.cgi?id=461218
Regards,
Dennis