getaddrinfo bug: hosts without A rekords
Artur Frysiak
wiget@t17.ds.pwr.wroc.pl
Mon Dec 6 23:33:00 GMT 1999
[czwartek, 02 grudzień 1999], Artur Frysiak napisał(a):
> >Description:
> getaddrinfo returns "No address associated with hostname" if host have AAAA
> rekords but don't have A rekords.
Additional informations:
If I run nscd then problem don't exist but new problem:
Hosts with only A rekords return AAAA rekords (in second try):
wiget@wiget wiget$ ./gtest2
Returned address: 156.17.210.111
wiget@wiget wiget$ ./gtest2
Returned address: ::ffff:156.17.210.111
Returned address: 156.17.210.111
and this is very ugly behaviour.
Regards
Wiget
--
__ __ _ _
/ / /\ \ (_) __ _ ___| |_ @__mail: Artur Frysiak
\ \/ \/ / |/ _` |/ _ \ __| Rudlice 10
\ /\ /| | (_| | __/ |_ 98-311 Ostrowek
\/ \/ |_|\__, |\___|\__|
|___/ email: Wiget@t17.ds.pwr.wroc.pl
PGP key: http://www.t17.ds.pwr.wroc.pl/~wiget/pgp.key
1024D/12FE7FAE ACB5 5834 C2F7 F86E 4F21 6D88 06B8 2CFE 12FE 7FAE
More information about the Libc-alpha
mailing list