Public bug reported: My laptop is an Ubuntu Intrepid system with IPv6 enabled, which I use regularly without problems. Recently, however, the glibc resolver has been acting strangely after one of my network environments installed the powerdns DNS server.
Contents of /etc/resolv.conf (from DHCP): --- domain company.local search company.local nameserver 10.0.0.1 --- Resolving queries fails on my laptop if I use fully qualified names for which the powerdns server is authoritative: # getent hosts host001.company.local. [timeout] But if I just use relative names: # getent hosts host001 10.0.0.2 host001.company.local If I try resolving a server for which the powerdns server is *not* authoritative: # getent hosts www.xs4all.nl. 194.109.6.92 www.xs4all.nl I think I have traced the problem to the fact that powerdns replies with "no such domain" when queried for a name for which an AAAA record does not exist. Bind will just reply with an empty result. Apparently, the glibc resolver will retry for an A records only if the name to be resolved is not fully qualified!? I have attached a tcpdump from the DNS traffic resulting from the above commands. Ubuntu 8.10 libc6 2.8~20080505-0ubuntu7 powerdns 3.1.7 ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- resolver does not (always) try A record after query for AAAA returns NXDOMAIN https://bugs.launchpad.net/bugs/291589 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs