[Bug 1086459] Re: VPN DNS Resolution Fails

Thomas Hood 1086459 at bugs.launchpad.net
Thu Dec 6 19:07:19 UTC 2012


> Why would the host utility work, while all other services
> which do DNS resolution fail?

The "host" utility makes DNS queries directly whereas other programs
resolve via the glibc resolver. The glibc resolver consults multiple
information sources as configured by /etc/nsswitch.conf. The "dns"
module of the glibc resolver is configured by /etc/resolv.conf.  The
"host" utility also reads /etc/resolv.conf to get the default nameserver
address to use.

That "host" works and other programs do not suggests that the glibc
resolver is somehow badly configured.

The problem may be
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/80900

See if it helps to change the "hosts:" line in /etc/nsswitch.conf to

    hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4

If it doesn't help, change it back.

Also please provide the outputs of the commands mentioned in comment
#16.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1086459

Title:
  VPN DNS Resolution Fails

Status in “resolvconf” package in Ubuntu:
  Incomplete

Bug description:
  After the resolvconf overhaul in Ubuntu 12.04, DNS resolution no
  longer works for VPN connections. Network Manager is able to connect
  to the VPN, but no domain names resolve.

  Please let me know what is needed to make this bug report more
  helpful.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: resolvconf 1.67ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
  Uname: Linux 3.5.0-19-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Tue Dec  4 10:21:04 2012
  InstallationDate: Installed on 2012-11-05 (28 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1086459/+subscriptions




More information about the foundations-bugs mailing list