Keep your DNS servers permanent in resolv.conf

If you are trying to prevent dhcp from overwriting your DNS entries in /etc/resolv.conf on Redhat/Fedora, just add the following line to /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever dynamic interface you use):


Or whatever nameservers you use. Just restart your network interface and the change will be applied.