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

Bug#516218: getaddrinfo not working while gethostbyname works



On Thu, Feb 19, 2009 at 10:13:38PM +0100, Matijs van Zuijlen wrote:
> Package: libc6
> Version: 2.9-1
> Severity: important
> 
> After yesterday's upgrade of libc6 from 2.7-18 to new 2.9-1, and a reboot,
> almost all programs stopped resolving hostnames. Notable exceptions were
> ping and dig. After comparing wget and ping source codes, and writing a
> tiny test program, it became clear that getaddrinfo was not working
> anymore, while gethostbyname was.
> 

Are you using your router for the DNS server? The new glibc fires out
an A and a AAAA DNS query in parallel, and that some buggy DNS server
return an error for the AAAA query using the id of the A query.

If that is the case, could you try to disable IPv6 by blacklisting the
ipv6 modules. Also can you try if a different server in resolv.conf
(e.g. the ones of your provider) in /etc/resolv.conf?

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: