Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthoritativeDnsServerCache
Default implementation of
AuthoritativeDnsServerCache , backed by a ConcurrentMap . |
class |
NoopAuthoritativeDnsServerCache
A noop
AuthoritativeDnsServerCache that 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(io.netty.channel.EventLoop eventLoop,
io.netty.channel.ChannelFactory<? extends io.netty.channel.socket.DatagramChannel> channelFactory,
DnsCache resolveCache,
AuthoritativeDnsServerCache authoritativeDnsServerCache,
DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory,
long queryTimeoutMillis,
io.netty.resolver.ResolvedAddressTypes resolvedAddressTypes,
boolean recursionDesired,
int maxQueriesPerResolve,
boolean traceEnabled,
int maxPayloadSize,
boolean optResourceEnabled,
io.netty.resolver.HostsFileEntriesResolver hostsFileEntriesResolver,
DnsServerAddressStreamProvider dnsServerAddressStreamProvider,
String[] searchDomains,
int ndots,
boolean decodeIdn)
Deprecated.
|
Copyright © 2008–2020 The Netty Project. All rights reserved.