which RPM provides the file resolv.conf in Centos 6

edotan asked:

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

My answer:


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.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.