How to set DNS options in /etc/resolv.conf via NetworkManager?
Issue
- How to set DNS options in
/etc/resolv.conf
via NetworkManager? - We would like to have persistent DNS options in the file
/etc/resolv.conf
, but NetworkManager keeps erasing them every time it's restarted. How to configure NetworkManager so options stay at place? - How do I make DNS options persistent like
timeout
with NetworkManager connections? - We have added
option single-request-reopen
manually toresolv.conf
. Can we retain this configuration via NetworkManager? Please share the process. - How to use NetworkManager to set options in
resolv.conf
? - NetworkManager overwrites options in
/etc/resolv.conf
on each reboot or restart of the service. - How can I configure Network Manager via
nmcli
to add the option parameters inresolv.conf
in RHEL?
Environment
- Red Hat Enterprise Linux 7 and later
- NetworkManager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.