This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: AF_INET6 lookups breaks AF_INET lookups
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 `---------------------------