[External] : Re: improving java.net.UnknownHostException

Richard Gibson richard.j.gibson at oracle.com
Fri Oct 29 15:05:13 UTC 2021


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 <fweimer at redhat.com>
Sent: Friday, October 29, 2021 10:41
To: Richard Gibson <richard.j.gibson at oracle.com>
Cc: net-dev at openjdk.java.net <net-dev at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20211029/936bda34/attachment.htm>


More information about the net-dev mailing list