> So the VPN connection is set to "addresses only"?

Yes.

> I can't reproduce this on my system (though dns=dnsmasq is enabled, of
course), with, or without a DNS being set, with the vpn configured as
"addresses only".

I removed the standalone dnsmasq and I'm using the nm-spawned one now.
Same problem. Details:

# Everything fine so far:
$ ps -fC dnsmasq
UID        PID  PPID  C STIME TTY          TIME CMD
nobody    6982  1413  0 09:50 ?        00:00:00 /usr/sbin/dnsmasq --no-resolv 
--keep-in-foreground --no-hosts --bind-interfaces 
--pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid 
--listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf 
--cache-size=0 --proxy-dnssec

$ cat /run/nm-dns-dnsmasq.conf 
server=10.160.31.1
server=194.63.238.4
server=8.8.8.8

# There's the problem - I don't want those DNS servers:
$ cat /run/resolvconf/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 150.140.1.4
nameserver 150.140.1.25
nameserver 127.0.0.1

# So, my DNS is broken:
$ dig +short www.launchpad.net
<no answer, the VPN DNS server is contacted and it doesn't know launchpad>

I also attach a screenshot of my VPN configuration. Is there any other
info that I can provide? I can give VNC access to my PC, if desired
(alkisg at irc.freenode.net, e.g. in #ltsp).

** Attachment added: "vpn.png"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/980579/+attachment/3099514/+files/vpn.png

** Changed in: network-manager (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  It's impossible to ignore VPN provided DNS servers

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  I have a desktop Precise installation with a normal dnsmasq installed,
  so I disabled the nm-spawned dnsmasq instance from
  NetworkManager.conf.

  I create a VPN connection in Network Manager without specifying any DNS 
servers. When I connect to it, I get:
  $ cat /var/run/dnsmasq/resolv.conf 
  nameserver 150.140.1.4
  nameserver 150.140.1.25
  nameserver 127.0.0.1
  nameserver 194.63.238.4
  nameserver 8.8.8.8

  I want to ignore the first two entries which are provided by my VPN.
  So I go to the VPN connection editor and I declare DNS=127.0.0.1. But
  again I get the same /var/run/dnsmasq/resolv.conf, so my DNS server
  entry there is completely ignored by network-manager and/or
  resolvconf.

  How can I tell Network Manager and/or resolvconf to ignore the DNS
  servers provided by my VPN connection?

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to