Hi, I had the same problem on Linux Mint 18.1
First time i start openvpn connexion all is ok. But if i stop it and start 
again via networkmanager, there are no DNS (but ping ip is ok).
A reboot of the computer make dns come back.

Or i found a temporary solution, modify the file 
/etc/NetworkManager/NetworkManager.conf
and comment the line #dns=dnsmasq
After this i stop / start many times openvpn connexion via network-manager and 
it works well.

-- 
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/1675519

Title:
  Network Manager w/ dnsmasq Dies when VPN-ing

Status in network-manager package in Ubuntu:
  Triaged

Bug description:
  Hello.

  Within the past week or so, a new bug has cropped up on Network
  Manager on 16.04.

  When Network Manager on 16.04 is configured to use dnsmasq and not
  systemd-resolved, one is expecting VPN DNS servers to be properly set
  and dnsmasq to properly route DNS requests to the Internet.

  However, when connecting to my OpenVPN connection, dnsmasq now fails
  extremely hard and no longer replies or routes data for DNS requests
  properly.  This results in me having to use a fail-over workaround of
  enforcing resolvconf to use my local `bind9` instance on my own system
  for DNS, which is configured to route to Google for DNS requests.
  This, however, prohibits me from using my own DNS on my VPN connect,
  which are on the remote location and serve internal ranges and domains
  that I should be permitted to access.

  Given these issues, with `dnsmasq` just outright exploding in our
  faces and no longer being usable for DNS request routing over the VPN,
  I'm not even sure we can consider VPN DNS as a viable option anymore
  with 16.04.

  Note that this is only *very* recently a problem within the past few
  weeks, and I can't find any updates which would have impacted this.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: network-manager 1.2.6-0ubuntu0.16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
  Uname: Linux 4.4.0-66-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Mar 23 14:04:06 2017
  InstallationDate: Installed on 2016-12-20 (92 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-nm:
   RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI     WWAN-HW  WWAN    
   running  1.2.6    connected  started  full          enabled     enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1675519/+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

Reply via email to