[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780294: Attempts to resolve IPv6 even when only link-local IPv6 addresses configured



Package: libc6
Version: 2.19-15
Severity: important

I'm on a network that has somewhat broken DNS: attempts to resolve AAAA
records for some hosts produce long timeouts.

As I understand it, glibc is supposed to check whether the system has
any non-link-local IPv6 addresses configured, and only attempt to
resolve DNS requests to IPv6 addresses (via AAAA queries) if so.

However, that doesn't seem to work on my system.  My wired (eth0) and
wireless (wlan0) interfaces both have link-local IPv6 addresses
automatically configured, and this seems to make glibc attempt IPv6 DNS
resolution.  If I remove the IPv6 link-local addresses from my network
interfaces, glibc correctly issues only an A record query.

Some searching turned up
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/156720 , which
might be related.

- Josh Triplett

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libc6 depends on:
ii  libgcc1  1:4.9.2-10

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.55
ii  glibc-doc              2.19-15
pn  locales                <none>

-- debconf information:
  glibc/upgrade: true
  glibc/restart-failed:
* libraries/restart-without-asking: true
  glibc/disable-screensaver:
  glibc/restart-services:


Reply to: