How to use /etc/NetworkManager/conf.d/* to reflect DNS entries in /etc/resolv.conf?

Solution Verified - Updated -

Issue

  • How to use /etc/NetworkManager/conf.d/* to reflect DNS entries in /etc/resolv.conf?
  • Another method to populate resolv.conf without setting DNS entries in ifcfg-ethx files or manually modifying /etc/resolv.conf.

Environment

  • Red Hat Enterprise Linux 7

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.