This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
getaddrinfo()/gethostbyname2_r()
- To: libc-alpha at sources dot redhat dot com
- Subject: getaddrinfo()/gethostbyname2_r()
- From: Arkadiusz Miskiewicz <misiek at pld dot ORG dot PL>
- Date: Fri, 17 Nov 2000 22:46:12 +0100
It seems that change -r1.28 -r1.29 of getaddrinfo.c
caused some problems. Simple resolving program
which is using getaddrinfo() --
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/Utils/host-all.c.gz
And on glibc 2.2 we have:
[misiek@arm misiek]$ /usr/local/bin/host-all box43.gnet.pl
Resolving ... box43.gnet.pl
Problem: box43.gnet.pl: Temporary failure in name resolution
(gethostbyname2() in gethosts macro returns TRY_AGAIN, and it's
returned as EAI_AGAIN)
While on glibc 2.1.3 we have:
[misiek@ikar misiek]$ ./host-all box43.gnet.pl
Resolving ... box43.gnet.pl
fqdn: mail1.getin.pl ip addr: 194.153.216.60
(gethostbyname2() in gethosts macro returns TRY_AGAIN, too
but it's ignored)
And I don't know. Resolver is broken (return TRY_AGAIN even
if it has all data) ?
ps. ,,host'' from bind9 distribution resolves that fqdn properly.
--
Arkadiusz Miśkiewicz, AM2-6BONE [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/ [ enabled ]