Hi Norman,
As you correctly found, there is a private implementation that is used
by JNDI. As far as I am aware, there are no plans to provide a Java SE
API for retrieving the default search domain list. Is there a particular
use-case that you have in mind that requires this?
-Chris.
On 26/09/18 10:06, Norman Maurer wrote:
Hi all,
I wonder if there is any plan to provide a public domain to receive the
“search list”.
At the moment this is exposed via an internal API only:
sun.net <http://sun.net>.dns.ResolverConfiguration.searchlist()
I know I can use JNDI to get a list of dnsservers but I could not find
anything for the searchlist:
https://docs.oracle.com/cd/A97688_16/generic.903/a97690/jndi.htm
Thanks
Norman