> Could you also start the vpn plugin you use in debug mode
> and send me the logs via email?
I've mail you the output of:
$ sudo /usr/lib/NetworkManager/nm-pptp-service --debug
(it's a pptp connection)
But, there was one try today were I couldn't reproduce the problem
anymore:
1. As I said, when I filed the bug report, I had the "real" dnsmasq running.
The problem existed there.
2. At my next feedback I stopped the "real" dnsmasq and restarted
network-manager so that it spawned its own instance. Problem was there too.
3. Today, when I booted I had both dnsmasq instances running,
using --except-interfaces=lo and --bind-interfaces.
On my first `nm-pptp-service --debug` try today
I could *NOT* reproduce the problem.
4. Then I stopped the "real" dnsmasq and restarted network-manager.
So I again had the nm-spawned dnsmasq like in (2).
The problem happened again.
...so it's either a race condition, or something else that makes the
problem not always reproducible.
alkisg@alkis:~$ 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 10.160.31.1
alkisg@alkis:~$ cat /run/resolvconf/interface/NetworkManager
nameserver 10.160.31.1
nameserver 194.63.238.4
nameserver 8.8.8.8
alkisg@alkis:~$ ping www.launchpad.net
ping: unknown host www.launchpad.net
** 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