[JDK-8257080] Java does not try all DNS results when opening a socket
Benjamin Marwell
bmarwell at apache.org
Sun Dec 27 10:05:22 UTC 2020
Is there more than just one? The built-in will provide support
for javax.naming.spi.LdapDnsProvider from java 12 onwards.
But I was not aware of any custom implementations I could use as a drop-in
replacement with Apache Shiro.
The Java 8 implementation will just use the socket’s/InetAdress’s DNS
resolution algo, which is just getAddresses()[0].
Am Sa., 26. Dez. 2020 um 15:53 Uhr schrieb Florian Weimer <fw at deneb.enyo.de
>:
> * Benjamin Marwell:
>
> > Well, I am stuck with Java 8 and if any LDAP server goes down, all
> > java applications will, too. Python, .NET, etc. are not affected.
>
> Surely that totally depends on the LDAP client implementation in use?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20201227/a7278b33/attachment.htm>
More information about the net-dev
mailing list