I'm not sure if setting negative priority really solves the dns leaks problem 
because I'm on 17.10 and I do have dns leaks. If I'm connected to my ISP over a 
LTE network and the connection is unstable then it could happen that DNS 
queries will be sent over my ISP network and not over my VPN connection. The 
only solution that works for me currently is
sudo systemctl disable systemd-resolved.service
sudo service systemd-resolved stop

Put the following line in the [main] section of your 
/etc/NetworkManager/NetworkManager.conf:
dns=default

Delete the symlink /etc/resolv.conf
rm /etc/resolv.conf

Restart network-manager
sudo service network-manager restart

Caution! Be aware that disabling systemd-resolvd might break name
resolution in VPN for some users - according to the original thread
https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-
in-ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624317

Title:
  systemd-resolved breaks VPN with split-horizon DNS

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1624317/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to