Yeah… In netty we an DNS resolver implementation that is completely 
non-blocking and for this we need it to correctly resolve in some cases. 
Blocking DNS resolution just doesn’t “cut it” when you use non-blocking IO and 
also need to resolve a lot of stuff during connect etc.


Bye
Norman


> On 26. Sep 2018, at 12:40, Chris Hegarty <chris.hega...@oracle.com> wrote:
> 
> 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

Reply via email to