NetworkManager: add comments on {dns-none,paws-off-my-resolv,systemd-resolved}.conf

This commit is contained in:
Aminda Suomalainen 2024-05-09 09:29:53 +03:00
parent 8f11f1a512
commit 0566ebbbc2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,8 @@
[main]
# No managing DNS, no managing resolv.conf (implied made explicit here) and
# don't push data to systemd-resolved either.
dns=none
rc-manager=unmanaged
systemd-resolved=false
# vim: filetype=NetworkManager.conf

View File

@ -1,4 +1,7 @@
[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
rc-manager=unmanaged

View File

@ -1,6 +1,10 @@
[main]
# Send data to systemd-resolved
dns=systemd-resolved
# Even if I use systemd-resolved, I don't want NetworkManager to touch my
# resolv.conf
rc-manager=none
# Implied, but made explicit
systemd-resolved=true
# vim: filetype=NetworkManager.conf