← Back to team overview

desktop-packages team mailing list archive

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


Whether this is a bug or feature request, I don't know, but to be sure,
it is possible to do this with a .conf file and "sudo service openvpn
start" and not possible to do it via network-manager-openvpn (unless you
count disabling dnsmasq--I'm curious what side effects this has).  As
described in the original report, I have verified that these lines in a
.conf file allow the server to configure DNS (as long as the server
pushes 3 or more DNS servers):

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

but network-manager-openvpn does not support the 'up' and 'down'.

This same issue was addressed here:


You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.

  network manager openvpn dns push data not updating system DNS

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

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

To manage notifications about this bug go to: