Restarting NetworkManager didn't work for me. DNS lookups for my network would fail REFUSED if queried against 127.0.1.1(dnsmasq) but work fine if I queried google's dns 8.8.8.8.
What did work was to modify the VPN connection and change the ipv4 configuration to address only, then manually add the routes I needed for the VPN (I did a broadstroke and routed 10.0.0.0/8 to the vpn tun) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1671964 Title: DNS fails after reconnecting to a VPN Status in network-manager package in Ubuntu: Confirmed Bug description: Since update 1.2.2-0ubuntu0.16.04.3 of network-manager, when I reconnect (i.e. connect, disconnect, connect) to a VPN (OpenVPN), DNS resolution stops working. Workaround: systemctl restart NetworkManager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1671964/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp