| Package | Description | 
|---|---|
| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultAuthoritativeDnsServerCacheDefault implementation of  AuthoritativeDnsServerCache, backed by aConcurrentMap. | 
| class  | NoopAuthoritativeDnsServerCacheA noop  AuthoritativeDnsServerCachethat actually never caches anything. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthoritativeDnsServerCache | DnsNameResolver. authoritativeDnsServerCache()Returns the cache used for authoritative DNS servers for a domain. | 
| Modifier and Type | Method and Description | 
|---|---|
| DnsNameResolverBuilder | DnsNameResolverBuilder. authoritativeDnsServerCache(AuthoritativeDnsServerCache authoritativeDnsServerCache)Sets the cache for authoritative NS servers | 
| Constructor and Description | 
|---|
| DnsNameResolver(EventLoop eventLoop,
               ChannelFactory<? extends DatagramChannel> channelFactory,
               DnsCache resolveCache,
               AuthoritativeDnsServerCache authoritativeDnsServerCache,
               DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory,
               long queryTimeoutMillis,
               ResolvedAddressTypes resolvedAddressTypes,
               boolean recursionDesired,
               int maxQueriesPerResolve,
               boolean traceEnabled,
               int maxPayloadSize,
               boolean optResourceEnabled,
               HostsFileEntriesResolver hostsFileEntriesResolver,
               DnsServerAddressStreamProvider dnsServerAddressStreamProvider,
               String[] searchDomains,
               int ndots,
               boolean decodeIdn)Deprecated. 
 | 
Copyright © 2008–2025 The Netty Project. All rights reserved.