Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Which RPM provides the file resolv.conf in Centos 6?

share|improve this question
up vote 4 down vote accepted

That's easy to discover. Just run:

rpm -qf /etc/resolv.conf

You will see the answer is:

file /etc/resolv.conf is not owned by any package

That's because it's generated by the system at installation time, and later managed by the sysadmin (that is hopefully you) or NetworkManager.

share|improve this answer
Thank you for the answer! – edotan Feb 10 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.