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

Chris Hegarty chris.hegarty at oracle.com
Thu Sep 27 10:09:15 UTC 2018


Norman,

> On 26 Sep 2018, at 12:45, Norman Maurer <norman.maurer at googlemail.com> wrote:
> 
> BTW I am happy to open an enhancement request for this with more details . Just wanted to check in first here :)

I searched the bug database to ensure that this request had
not come up before, and found nothing. I took the liberty of
filling the following JIRA to track the enhancement request.

"Support retrieving the system's name service configuration”
https://bugs.openjdk.java.net/browse/JDK-8211216

If the above enhancement were available, then it would be
a suitable replacement for any code accessing sun.net.dns.-
ResolverConfiguration directly. I think that this would make
a good addition to the java.net package.

-Chris.


More information about the net-dev mailing list