Yes, it looks as if the problem is that NM is forgetting the second
nameserver address.

Can you reproduce this malfunction with the Quantal version of network-
manager?

** Package changed: dnsmasq (Ubuntu) => network-manager (Ubuntu)

** Summary changed:

- vpn dns server addresses - host lookups fail if first server is not reachable
+ Using NM and dnsmasq, although two nameserver addresses are provided for my 
VPN, host lookups fail if the first server is not reachable

-- 
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” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+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

Reply via email to