A reboot wiped the content of /etc/resolv.conf after configuring dns=none in NetworkManager.conf
Issue
- On a RHEL 7 and RHEL 8 server using
NetworkManager, configuring the directivedns=nonein/etc/NetworkManager/NetworkManager.confand immediately rebooting the server results in a wipe of the pre-existing content of/etc/resolv.conf.
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- NetworkManager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.