Public API to get the search list that is used on the system

Norman Maurer norman.maurer at googlemail.com
Wed Sep 26 09:06:05 UTC 2018


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 <https://docs.oracle.com/cd/A97688_16/generic.903/a97690/jndi.htm>

Thanks
Norman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180926/1a73fe4b/attachment-0001.html>


More information about the net-dev mailing list