← Back to team overview

desktop-packages team mailing list archive

[Bug 1211110] Re: network manager openvpn dns push data not updating system DNS addresses

 

A simple workaround is to edit your VPN connection (via NM) and set up
static DNS, for example using Google servers:

8.8.8.8, 8.8.4.4

This way, the DNS request is sent through an external IP, hence it is
routed using the VPN. If you were using the default DNS from your router
(probably an internal IP like 192.168.x.y) then the DNS request would go
outside the VPN.

I just discovered that Google provides also IPv6 servers, by searching
for "IPv6 DNS Servers" on DuckDuckGo (a very convenient table of DNS
servers by provider shows up).

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

Title:
  network manager openvpn dns push data not updating system DNS
  addresses

Status in network-manager package in Ubuntu:
  Confirmed
Status in openvpn package in Ubuntu:
  Confirmed

Bug description:
  When IPv4 Method is set to Automatic VPN, DNS address recieved from
  OpenVPN server do not update resolv.conf.

  This can be achieved when using a standard openvpn config file by
  adding the lines:

  script-security 2
  up /etc/openvpn/update-resolv-conf
  down /etc/openvpn/update-resolv-conf

  In Network-manager there seems to be no option to run connection
  specific scripts and the DNS data from the server is ignored.

  Ubuntu 13.04
  Network-manager 0.9.8.0-0ubuntu6

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