This works without problems, and without using `ipv4.dns-priority`, on
Ubuntu 20.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768203
Title:
Connecting to a VPN clears DNS from parent connectio
This helps, but there's still a problem - resolved tries to resolve the
VPN-local addresses with both VPN and global DNS. Some of those
addresses are available on both sites, and I prefer the internal one
when the VPN is active.
--
You received this bug notification because you are a member of Ub
I was able to solve my problem by setting the dns-priority of my VPN
connection to a negative value: `nmcli connection modify
ipv4.dns-priority -100`. You might be able to resolve
your issue by setting the dns-priority of your VPN connection to a
*higher* value (e.g. equal to that of the other con
What type of VPN connection are you using?
I am using network-manager-openvpn, and it has the opposite behavior (I
can only get it to append a new DNS server to the list reported by
`systemd-resolve --status`, while in my case, I would like network-
manager to *only* use the VPN DNS).
The change