Bug#627531: mishandles 'options rotate' if only one IPv6 nameserver is given
Package: libc6
Version: 2.11.2-11
Severity: normal
Hi,
this may be a duplicate of #593571, and I am not in the situation to
test the patch given in #593571 at the moment due to time constraints,
but I'll file it separately since it is easier to merge than to split ;)
Steps to reproduce:
- in /etc/resolv.conf
- set "options rotate"
- set a single nameserver with an IPv6 address
- do not set nameservers with IPv4 addresses
- set "search zugschlus.de"
- ping6 torres
- ping6 torres.zugschlus.de
Expected behavior:
- clean ping to 2a01:238:4071:3201::1
What's happening:
- both ping6 commands result in "unknown host"
- with "ping6 torres" no DNS query can be seen going out to the DNS
server
- with "ping6 torres.zugschlus.de", a DNS query for
"torres.zugschlus.de.zugschlus.de" goes out and is answered with
NXDOMAIN
Greetings
Marc
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.38.4-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6 depends on:
ii libc-bin 2.11.2-11 Embedded GNU C Library: Binaries
ii libgcc1 1:4.6.0-6 GCC support library
Versions of packages libc6 recommends:
ii libc6-i686 2.11.2-11 Embedded GNU C Library: Shared lib
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
pn glibc-doc <none> (no description available)
ii locales 2.11.2-11 Embedded GNU C Library: National L
-- debconf information:
glibc/upgrade: true
glibc/disable-screensaver:
glibc/restart-failed:
glibc/restart-services:
Reply to: