OpenVPN
systemd-resolvconf
sudo pacman -S systemd-resolvconf
sudo systemctl enable systemd-resolvconf
sudo systemctl start systemd-resolvconf
NetworkManager
https://wiki.archlinux.org/index.php/NetworkManager#systemd-resolved
`/<a class='createlinktext' rel='nofollow'
[main]
dns=systemd-resolved
openvpn-update-systemd-resolved
Install from AUR.
In the openvpn client config script:
script-security 2
up /etc/openvpn/scripts/update-systemd-resolved
down /etc/openvpn/scripts/update-systemd-resolved