Package io.netty.resolver.dns
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 AuthoritativeDnsServerCache Cache which stores the nameservers that should be used to resolve a specific hostname.DnsCache A cache for DNS resolution entries.DnsCacheEntry Represents the results from a previous DNS query which can be cached.DnsCnameCache A cache forCNAMEs.DnsQueryLifecycleObserver This interface provides visibility into individual DNS queries.DnsQueryLifecycleObserverFactory Used to generate new instances ofDnsQueryLifecycleObserver.DnsServerAddressStream An infinite stream of DNS server addresses.DnsServerAddressStreamProvider Provides an opportunity to override whichDnsServerAddressStreamis used to resolve a specific hostname.DnsServerResponseFeedbackAddressStream An infinite stream of DNS server addresses, that requests feedback to be returned to it. -
Enum Summary Enum Description DnsNameResolverChannelStrategy Strategy that influence howChannels are used during queries. -
Exception Summary Exception Description DnsErrorCauseException A metadata carrier exception, to propagateDnsResponseCodeinformation as an enrichment within theUnknownHostExceptioncause.DnsNameResolverException ARuntimeExceptionraised whenDnsNameResolverfailed to perform a successful query.DnsNameResolverTimeoutException ADnsNameResolverExceptionraised whenDnsNameResolverfailed to perform a successful query because of an timeout.