AF_INET6 lookups breaks AF_INET lookups

Thorsten Kukuk kukuk@suse.de
Sat Dec 21 13:22:00 GMT 2002


On Sat, Dec 21, Ulrich Drepper wrote:

> Thorsten Kukuk wrote:
> 
> > glibc 2.3 has a servery bug in the resolver code.
> 
> I cannot reproduce this.  Neither with the glibc in RHL8 nor the current
> CVS, even with NPTL enabled.  Works as expected.

I have no problems to reproduce it with a RHL8 installation:

Using gethostbyname2 (www.lufthansa.com, AF_INET): 53.122.207.1    www.lufthansa.com
Using gethostbyname2 (www.lufthansa.com, AF_INET6): www.lufthansa.com not found
Using gethostbyname2 (www.lufthansa.com, AF_INET): www.lufthansa.com not found
# cat /etc/redhat-release 
Red Hat Linux release 8.0 (Psyche)

But it is only with www.lufthansa.com reproduceable. I know that
other people have similar problems with other hosts, but I don't have
access to that emails currently to tell the other hostnames.

It works fine if I switch back to glibc 2.2.5. I tried different
nameservers and different providers, always reproduceable: 2.3
fails, 2.2.5 works.

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



More information about the Libc-alpha mailing list