Sets the cache for authoritative NS servers
DnsNameResolverBuilder.channelFactory(io.netty.channel.ChannelFactory<? extends io.netty.channel.socket.DatagramChannel> channelFactory)
Sets the ChannelFactory that will create a DatagramChannel.
DnsNameResolverBuilder.channelType(Class<? extends io.netty.channel.socket.DatagramChannel> channelType)
Sets the ChannelFactory as a ReflectiveChannelFactory of this type.
Sets the cache for CNAME mappings.
If true SimpleNameResolver.resolveAll(String) will notify the returned Future as
soon as all queries for the preferred address-type are complete.
Set the maximum size of the cache that is used to consolidate lookups for different hostnames when in-flight.
DnsNameResolverBuilder.copy()
DnsNameResolverBuilder.decodeIdn(boolean decodeIdn)
Set if domain / host names should be decoded to unicode when received.
Set the factory used to generate objects which can observe individual DNS queries.
DnsNameResolverBuilder.eventLoop(io.netty.channel.EventLoop eventLoop)
Sets the EventLoop which will perform the communication with the DNS servers.
Configure the address that will be used to bind too.
Sets the capacity of the datagram packet buffer (in bytes).
Sets the maximum allowed number of DNS queries to send when resolving a host name.
DnsNameResolverBuilder.ndots(int ndots)
Set the number of dots which must appear in a name before an initial absolute query is made.
Sets the TTL of the cache for the failed DNS queries (in seconds).
Enable the automatic inclusion of a optional records that tries to give the remote DNS server a hint about
how much data the resolver can read per response.
Sets the timeout of each DNS query performed by this resolver (in milliseconds).
Sets if this resolver has to send a DNS query with the RD (recursion desired) flag set.
Sets the cache for resolution results.
DnsNameResolverBuilder.resolvedAddressTypes(io.netty.resolver.ResolvedAddressTypes resolvedAddressTypes)
Sets the list of the protocol families of the address resolved.
Set the list of search domains of the resolver.
DnsNameResolverBuilder.socketChannelFactory(io.netty.channel.ChannelFactory<? extends io.netty.channel.socket.SocketChannel> channelFactory)
Sets the
ChannelFactory that will create a
SocketChannel for
TCP fallback if needed.
Sets the
ChannelFactory as a
ReflectiveChannelFactory of this type for
TCP fallback if needed.
DnsNameResolverBuilder.ttl(int minTtl,
int maxTtl)
Sets the minimum and maximum TTL of the cached DNS resource records (in seconds).
authoritativeDnsServerCache(AuthoritativeDnsServerCache)