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 and later
  • NetworkManager-1.0.6-4.el7 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content