[JDK-8257080] Java does not try all DNS results when opening a socket

Alan Bateman Alan.Bateman at oracle.com
Fri Dec 18 10:35:50 UTC 2020


On 18/12/2020 10:28, Benjamin Marwell wrote:
> Hi Alan,
>
> I am using the LDAP connector from the JDK (javax.naming.directory.*) 
> [1].
> As far as I know there is no way to configure this.
>
> [1]: 
> https://docs.oracle.com/javase/jndi/tutorial/ldap/security/ldap.html 
> <https://docs.oracle.com/javase/jndi/tutorial/ldap/security/ldap.html>
>
Are you looking for javax.naming.spi.LdapDnsProvider?

-Alan


More information about the net-dev mailing list