Operating System - Linux
1829087 Members
2598 Online
109986 Solutions
New Discussion

Re: Fedore Core 7 Forgets Its DNS Settings on Reboot

 
Andrew Kaplan
Super Advisor

Fedore Core 7 Forgets Its DNS Settings on Reboot

Hi there --

I have a Fedora Core 7 server that loses its DNS settings on system reboot. The /etc/resolv.conf file does not maintain its entries even though they are entered by the root user.

The workaround that I have implemented involves the resolv.conf file saved under a different name, and a symbolic link under the appropriate name pointing to the other file. While this works, it does not fix the original problem.

Has anyone seen this, know what the cause is, and how it can be fixed? Thanks.
A Journey In The Quest Of Knowledge
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: Fedore Core 7 Forgets Its DNS Settings on Reboot

What happens to the file, is removed, exists but it's empty or the values are changed?

This could be for some interface having ONBOOT=YES and DHCP as the protocol. Check your /etc/sysconfig/network-scripts/ifcfg-* files.

Another troubleshooting technique could be to enable auditing over the file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Fedore Core 7 Forgets Its DNS Settings on Reboot

What happens to the file, is removed, exists but it's empty or the values are changed?

It's some "generated by dhclient" comment in there?

This could be for some interface having ONBOOT=YES and DHCP as the protocol. Check your /etc/sysconfig/network-scripts/ifcfg-* files.

Another troubleshooting technique could be to enable auditing over the file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?