An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well.
Interface Summary Interface Description AuthoritativeDnsServerCacheCache which stores the nameservers that should be used to resolve a specific hostname. DnsCacheA cache for DNS resolution entries. DnsCacheEntryRepresents the results from a previous DNS query which can be cached. DnsCnameCacheA cache for
DnsQueryLifecycleObserverThis interface provides visibility into individual DNS queries. DnsQueryLifecycleObserverFactoryUsed to generate new instances of
DnsServerAddressStreamAn infinite stream of DNS server addresses. DnsServerAddressStreamProviderProvides an opportunity to override which
DnsServerAddressStreamis used to resolve a specific hostname.
Exception Summary Exception Description DnsNameResolverExceptionA
DnsNameResolverfailed to perform a successful query.
DnsNameResolverfailed to perform a successful query because of an timeout.