AF_INET6 lookups breaks AF_INET lookups

Ulrich Drepper drepper@redhat.com
Sat Dec 21 13:30:00 GMT 2002


Thorsten Kukuk wrote:

> 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

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): 53.122.207.1
www.lufthansa.com


With or without nscd enabled, no problem.  Maybe the DNS server you get
your replies from is broken.  I'm using a local BIND.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------



More information about the Libc-alpha mailing list