Probably the OpenJDK implementation, which currently appears to return even less information than the famously-restrained getaddrinfo. But I'd love to see use of something better such as getdns if that is not already the case.
________________________________ From: Florian Weimer <fwei...@redhat.com> Sent: Friday, October 29, 2021 10:41 To: Richard Gibson <richard.j.gib...@oracle.com> Cc: net-dev@openjdk.java.net <net-dev@openjdk.java.net> Subject: [External] : Re: improving java.net.UnknownHostException * Richard Gibson: > The OCI DNS team are fielding an increasing amount of usage by > customers relying upon Java, and the lack of detail associated with > java.net.UnknownHostException for differentiating e.g. timeout > vs. NXDOMAIN vs. NODATA vs. SERVFAIL vs. REFUSED has cost a great deal > of time in investigating issues. Does anyone on this list know how to > get the ball rolling on improving things? Is this about the system resolver (via the high-level POSIX interfaces), or the separate OpenJDK DNS implementation? Thanks, Florian