


Install this VPN and use it to access any online content all over the world. Make sure it does not use resolvconf : # /etc/NetworkManager/conf.d/rc-manager.This post introduces Mullvad VPN and offers guides on how to get Mullvad VPN downloaded for PC, Mac, Android, or iOS. Make it use systemd-resolved DNS server: # /etc/NetworkManager/conf.d/dns.conf dns=systemd-resolved It does require enabling though: # Symlink /etc/nf properly ln -sf /run/systemd/resolve/nf /etc/nf # Enable and start systemd-resolved systemctl enable systemd-resolved systemctl start systemd-resolved Configure NetworkManager The systemd-resolved is built-in part of systemd and does not require installation. Cleanup # Uninstall resolvconf providers if you have any: pacman -Rs systemd-resolvconf openresolv # Uninstall local DNS servers if you have any: pacman -Rs dnsmasq bind unbound # Mind stopping any local DNS servers still running Use systemd-resolved DNS server The primary issue is which piece of software, when and how modifies DNS servers via /etc/nf and/or resolvconf to not confuse other pieces.Īfter a long trial and error here is the setup that worked for me.

The desired setup is what we call “should just work”: How to fix DNS issues when using Mullvad + Wireguard + NetworkManager on Linux? Desired setup
