[OpenVPN][1][?][1]

systemd-resolvconf

sudo pacman -S systemd-resolvconf
sudo systemctl enable systemd-resolvconf
sudo systemctl start systemd-resolvconf

$[Get Code]2

[NetworkManager][3][?][3]

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