FIXED RHEL 6 with Static IP Botching /etc/resolv.conf on Reboot
nagger 100000MRSJ Comment (1) Visits (18783)
RHEL (6.4 and 6.5) Servers show their PC heritage when you assign server style static IP addresses instead of home network DHCP controlled IP networks. [[That will generate a few comments!!]]
I find the /etc/resolv.conf file gets modified after a reboot and so DNS fails - this is a broken as designed feature. I would enjoy someone trying to defend this feature and why it does this for my benefit! [[That will generate a even more comments!!]]
This is a quick blog entry for me to remember a combination that actually works for me. You might find it useful too.
Works = stops the reboot corrupting your /etc/resolv.conf file.
I could not claim I know why this combination works, as I have added and removed the NM_CONTROLLED and PEERDNS options a few times before they seems to start working by magic:
I have a brutal internal IBM firewall on the entrance to my computer room, so I have no problems sharing IP addresses :-)
- - - End - - -