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 forCNAME
s.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 whichDnsServerAddressStream
is 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 howChannel
s are used during queries. -
Exception Summary Exception Description DnsErrorCauseException A metadata carrier exception, to propagateDnsResponseCode
information as an enrichment within theUnknownHostException
cause.DnsNameResolverException ARuntimeException
raised whenDnsNameResolver
failed to perform a successful query.DnsNameResolverTimeoutException ADnsNameResolverException
raised whenDnsNameResolver
failed to perform a successful query because of an timeout.