Module io.netty5.resolver.dns
Package io.netty5.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. -
Exception Summary Exception Description DnsNameResolverException ARuntimeExceptionraised whenDnsNameResolverfailed to perform a successful query.DnsNameResolverTimeoutException ADnsNameResolverExceptionraised whenDnsNameResolverfailed to perform a successful query because of an timeout.