gethostbyname2_r buggy?
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Sun Sep 5 18:39:00 GMT 1999
Pawel Krawczyk <kravietz@ceti.pl> said:
> Recently I've been tracking the reason why nscd has failed on some
> type of hosts and discovered that it was caused by failure of
> gethostbyname2_r() (called from addhstbyname() in nscd/hstcache.c).
> This function fails returning -1 when resolved host is a recursive
> CNAME, e.g:
>
> [root@ns1 named]# host test1
> test1.ceti.com.pl is a nickname for test2.ceti.com.pl
> test2.ceti.com.pl is a nickname for test3.ceti.com.pl
> test3.ceti.com.pl has address 195.116.211.2
I believe this is illegal...
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
More information about the Libc-alpha
mailing list