Note: The file /run/NetworkManager/no-stub-resolv.conf does contain the nameservers that are automatically provided by the VPN connection.
This solved the issue for me: sudo rm /etc/resolv.d sudo ln -s /run/NetworkManager/no-stub-resolv.conf /etc/resolv.conf
I am running Ubuntu Desktop, not Ubuntu Server (if that is relevant).
Note: The file /run/NetworkMan ager/no- stub-resolv. conf does contain the nameservers that are automatically provided by the VPN connection.
This solved the issue for me: ager/no- stub-resolv. conf /etc/resolv.conf
sudo rm /etc/resolv.d
sudo ln -s /run/NetworkMan
I am running Ubuntu Desktop, not Ubuntu Server (if that is relevant).