This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: getaddrinfo bug: hosts without A rekords
- To: GNU libc testers <libc-alpha at sourceware dot cygnus dot com>
- Subject: Re: getaddrinfo bug: hosts without A rekords
- From: Artur Frysiak <wiget at t17 dot ds dot pwr dot wroc dot pl>
- Date: Tue, 7 Dec 1999 08:31:08 +0100
- References: <19991202155205.21FB95F039@wiget.t17.ds.pwr.wroc.pl>
- Reply-To: Artur Frysiak <wiget at ipv6 dot t17 dot dhs dot org>
[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