Am Fri, 10 Oct 2014 15:03:32 +0100
schrieb Michael McMahon <michael.x.mcma...@oracle.com>:

> getnameinfo() with AI_CANONNAME is taking the canonical host name as
> reported directly by the name service. Whereas the additional
> getnameinfo() is doing a reverse lookup of the forward looked up IP
> address.

getaddrinfo() with AI_CANONNAME returns the result in
res[0].ai_canonname which is not used in 

http://code.metager.de/source/xref/openjdk/jdk8/jdk/src/solaris/native/java/net/Inet4AddressImpl.c#111

(and other places)

Gruss
Bernd

Reply via email to