A reboot wiped the content of /etc/resolv.conf after configuring dns=none in NetworkManager.conf on RHEL 7

Solution Verified - Updated -

Issue

  • On a RHEL 7 server using NetworkManager, configuring the directive dns=none in /etc/NetworkManager/NetworkManager.conf and immediately rebooting the server results in a wipe of the pre-existing content of /etc/resolv.conf.

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • NetworkManager

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