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 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. -
Exception Summary Exception Description DnsNameResolverException ARuntimeException
raised whenDnsNameResolver
failed to perform a successful query.DnsNameResolverTimeoutException ADnsNameResolverException
raised whenDnsNameResolver
failed to perform a successful query because of an timeout.