@Glenn: Thanks for the additional info.
I am reassigning this to network-manager-vpnc. In the syslog submitted
to bug #1013646 open against network-manager-vpnc we see the same
phenomenon: NetworkManager receives the two nameserver addresses but
sends only one to dnsmasq.
** Package changed: network-manager (Ubuntu) => network-manager-vpnc (Ubuntu)
** Changed in: network-manager-vpnc (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/1072899
Title:
Using NM and dnsmasq, although two nameserver addresses are provided
for my VPN, host lookups fail if the first server is not reachable
Status in “network-manager-vpnc” package in Ubuntu:
Confirmed
Bug description:
I tried to report this bug using "ubuntu-bug dnsmasq-base" but that
process repeatably crashes :-( I've filed a separate bug report on
that issue but therefore there is no information automatically
appended. The output of lsb_release -a is:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
and I am happy to append any further information that may be required.
I connect to my work network via VPN. The config has been working well but
stopped working recently. The symptoms were that the VPN connection still
succeeded but that DNS lookups of machines on the VPN failed. I have these
lines in the syslog:
Oct 29 20:47:11 mini NetworkManager[1071]: <info> Internal IP4 DNS:
192.168.15.221
Oct 29 20:47:11 mini NetworkManager[1071]: <info> Internal IP4 DNS:
192.168.5.221
Oct 29 20:47:11 mini NetworkManager[1071]: <info> DNS Domain: 'kl.imgtec.org'
which shows that 2 DNS servers were reported when the VPN connection
was established. If I attempt to lookup the IP address of my machine:
% host glenn.kl.imgtec.org
;; connection timed out; no servers could be reached
then it times out. If I tell it to use the second server:
$ host glenn.kl.imgtec.org 192.168.5.221
Using domain server:
Name: 192.168.5.221
Address: 192.168.5.221#53
Aliases:
glenn.kl.imgtec.org has address 192.168.17.88
then it works as expected. It seems that the 15.221 server is down (I
cannot ping it) but the 5.221 server is fine. I would have expected
the DNS lookup to fall back to the second server when it failed to
receive a reply from the first server instead of just giving up.
The nm-dns-dnsmasq.conf file only shows information relating to the
1st server - it seems to have totally ignored the 2nd server:
$ cat /var/run/nm-dns-dnsmasq.conf
server=/kl.imgtec.org/192.168.15.221
server=/79.168.192.in-addr.arpa/192.168.15.221
server=/200.9.192.in-addr.arpa/192.168.15.221
server=/5.168.192.in-addr.arpa/192.168.15.221
server=/6.168.192.in-addr.arpa/192.168.15.221
server=/7.168.192.in-addr.arpa/192.168.15.221
server=/14.168.192.in-addr.arpa/192.168.15.221
server=/15.168.192.in-addr.arpa/192.168.15.221
--
Glenn
---
ApportVersion: 2.0.1-0ubuntu14
Architecture: i386
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211
not found.
DistroRelease: Ubuntu 12.04
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release i386
(20120423)
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
Package: network-manager 0.9.4.0-0ubuntu4.1
PackageArchitecture: i386
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
RfKill:
Tags: precise
Uname: Linux 3.2.0-32-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip disk lpadmin plugdev sambashare sudo vboxusers
WifiSyslog:
nmcli-con:
NAME UUID TYPE
TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY
DBUS-PATH
Wired connection 1 730f6f4e-d55a-4439-a6d9-ac5ccb495212
802-3-ethernet 1352109461 Mon 05 Nov 2012 09:57:41 GMT yes
no /org/freedesktop/NetworkManager/Settings/2
IMG 41f28d3f-9325-4801-8a99-cd0c8d479c13 vpn
1352109461 Mon 05 Nov 2012 09:57:41 GMT no no
/org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
eth0 802-3-ethernet connected
/org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE
WIFI WWAN-HARDWARE WWAN
running 0.9.4.0 connected enabled enabled
enabled enabled enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/1072899/+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