This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getaddrinfo bug: hosts without A rekords


[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]