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
On Sat, Dec 21, 2002 at 01:30:43PM -0800, Ulrich Drepper wrote:
> 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.
I'm not using local BIND and cannot reproduce it
either (with RHL glibc-2.3.1-21, ie. basically current CVS with NPTL):
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
Jakub