mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 20:02:31 +01:00
NetworkManager: add comments on {dns-none,paws-off-my-resolv,systemd-resolved}.conf
This commit is contained in:
parent
8f11f1a512
commit
0566ebbbc2
@ -1,5 +1,8 @@
|
|||||||
[main]
|
[main]
|
||||||
|
# No managing DNS, no managing resolv.conf (implied made explicit here) and
|
||||||
|
# don't push data to systemd-resolved either.
|
||||||
dns=none
|
dns=none
|
||||||
rc-manager=unmanaged
|
rc-manager=unmanaged
|
||||||
|
systemd-resolved=false
|
||||||
|
|
||||||
# vim: filetype=NetworkManager.conf
|
# vim: filetype=NetworkManager.conf
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
[main]
|
[main]
|
||||||
|
# dns=none would disable all DNS management by NetworkManager, while the goal
|
||||||
|
# here is to just not touch my resolv.conf. This implies NetworkManager may
|
||||||
|
# still send data to systemd-resolved.
|
||||||
#dns=none
|
#dns=none
|
||||||
rc-manager=unmanaged
|
rc-manager=unmanaged
|
||||||
|
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
[main]
|
[main]
|
||||||
|
# Send data to systemd-resolved
|
||||||
dns=systemd-resolved
|
dns=systemd-resolved
|
||||||
|
# Even if I use systemd-resolved, I don't want NetworkManager to touch my
|
||||||
|
# resolv.conf
|
||||||
rc-manager=none
|
rc-manager=none
|
||||||
|
# Implied, but made explicit
|
||||||
systemd-resolved=true
|
systemd-resolved=true
|
||||||
|
|
||||||
# vim: filetype=NetworkManager.conf
|
# vim: filetype=NetworkManager.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user