Package: libc
Version: glibc
Severity: normal
Tags: ipv6
If the first entry in /etc/resolv.conf is an ipv6 address, and the second is
an ipv4 address, then, if the ipv6 lookup fails, then no fallback takes place
to the secondary (or tertiary) servers.
Furthermore, if a 'search' list is specified, and an ipv6 address is
present in the list, then no retries take place on any server.
For example, given the following in /etc/resolv.conf:
nameserver 0100::1
nameserver 4.4.4.4
"getent ahosts www.google.com" returns no entries. tcpdump shows that the
secondary server is never polled, although the primary is polled twice.
Given the following in /etc/resolv.conf:
search zzz.com
nameserver 0100::1
nameserver 4.4.4.4
tcpdump shows the first server being queried for www.google.com, and
then for www.google.com.zzz.com. The secondary server is never queried
at all (as above), and the primary is only queried once for each hostname.
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]