Adding a new DNS server with systemd-resolved
serverfault.com › questions › 1008355Mar 25, 2020 · nameserver 127.0.0.1 Prevent NetworkManager from modifying /etc/resolv.conf and leave everything to systemd-resolved by adding the following line under the [main] section of /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf dns=none As a last step you will have to restart systemd-resolved.
systemd-resolved - ArchWiki - Arch Linux
wiki.archlinux.org › title › Systemd-resolvedsystemd-resolved is a systemd service that provides network name resolution to local applications via a D-Bus interface, the resolve NSS service ( nss-resolve (8) ), and a local DNS stub listener on 127.0.0.53. See systemd-resolved (8) for the usage. Contents 1 Installation 2 Configuration 2.1 DNS 2.1.1 Setting DNS servers 2.1.1.1 Automatically
systemd-resolved: How to set DNS servers? / Networking ...
bbs.archlinux.org › viewtopicMay 19, 2019 · If you let networkmanager set DNS servers via DHCP, then systemd-resolved will use those instead of the global configuration which is not good if you want to use DNS over TLS. Edit: Still, I suggest not using systemd-resolved if you want DoT. It will silently fall back to unencrypted DNS if it fails to establish an encrypted connection.