NetworkManager Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
==/etc/resolv.conf Processing Mode== | ==/etc/resolv.conf Processing Mode== | ||
By default, NetworkManager will update /etc/resolv.conf to reflect the name servers provided by currently active connections. | |||
This behavior can be changed by setting the "dns" element. | |||
In order to configure NetworkManager not to touch /etc/resolv.conf, set the following in the "[main]" section of /etc/NetworkManager/NetworkManager.conf: | |||
<pre> | <pre> | ||
[main] | |||
... | |||
dns=none | |||
rc-manager=unmanaged | |||
</pre> | </pre> | ||
Revision as of 21:28, 22 May 2017
Internal
/etc/NetworkManager/NetworkManager.conf
man NetworkManager.conf
/etc/resolv.conf Processing Mode
By default, NetworkManager will update /etc/resolv.conf to reflect the name servers provided by currently active connections.
This behavior can be changed by setting the "dns" element.
In order to configure NetworkManager not to touch /etc/resolv.conf, set the following in the "[main]" section of /etc/NetworkManager/NetworkManager.conf:
[main] ... dns=none rc-manager=unmanaged