resolv.conf changed after reboot

Mike Klinke mklinke at axsi.com
Thu Feb 9 14:44:32 UTC 2006


On Thursday 09 February 2006 06:43, Marty Landman wrote:
> I found a while back that one of the nameservers on
> /etc/resolv.conf had a typo so I did a sudo vi /etc/resolv.conf
> and that fixed it until a recent reboot which has put it back to
> the older incorrect version.
>
> Where could it be getting its info from and how do I fix it
> permanently?
>

Until you get the typo fixed ( the permanent fix ) you can try 
adding:

PEERDNS=no

to your /etc/sysconfig/network-scripts/ifcfg-eth? ( replace the ? 
for the appropriate interface ).

This and other options are described in the file:

/usr/share/doc/initscripts-<your version>/sysconfig.txt




Regards, Mike Klinke





More information about the redhat-list mailing list