← Back to team overview

desktop-packages team mailing list archive

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


Actually, I'd like to retract part of what I said above.  Via tcpdump, I
was able to confirm that --push on the server for "dhcp-option DNS ..."
and "redirect-gateway" ARE ACTUALLY WORKING, though the changes are not
visible in /etc/resolv.conf. Rather, they are updated in dnsmasq and
resolv.conf points to dnsmasq.  (I don't think the "def1" flag for
"redirect-gateway" works.)

In my view, two things are needed:  (1) a documented way to view the
list of DNS servers within Network Manager's dnsmasq so folks here can
watch what is happening without tcpdump, and (2) support for "dhcp-
option DNS ..." and "redirect-gateway" on the client (not just options
pushed from the server).  The first item seems more important and should
be much easier.

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: