Why do manual changes made to '/etc/resolv.conf' files get overwritten on Red Hat Enterprise Linux ?

Solution Verified - Updated -

Issue

  • System can ping with IP but can't ping with hostname
  • System doesn't properly configure nameserver info
  • Using static network and can't set nameserver information
  • Changes to resolv.conf being overwritten between boots
  • /etc/resolv.conf created during kickstart install is changed
  • Server unaccessible via network after being rebooted
  • For some unknown reason the /etc/resolv.conf file keeps getting wiped clean every other week.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.