No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
io.
Deprecated as a consequence of | |
io.
Deprecated as a consequence of | |
io.
Override | |
io.
the eventLoop, ChannelFactory<? extends DatagramChannel> EventLoop which will perform the communication with the DNS serversthe channelFactory, final DnsCache ChannelFactory that will create a DatagramChannelthe DNS resolved entries cache resolveCache, final DnsCache the cache used to find the authoritative DNS server for a domain authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory used to generate new instances of dnsQueryLifecycleObserverFactory, long DnsQueryLifecycleObserver which
can be used to track metrics for DNS servers.timeout of each DNS query in millis. queryTimeoutMillis, ResolvedAddressTypes 0 disables the timeout. If not set or a
negative number is set, the default timeout is used.the preferred address types resolvedAddressTypes, boolean if recursion desired flag must be set recursionDesired, int the maximum allowed number of DNS queries for a given name resolution maxQueriesPerResolve, boolean if trace is enabled traceEnabled, int the capacity of the datagram packet buffer maxPayloadSize, boolean if automatic inclusion of a optional records is enabled optResourceEnabled, HostsFileEntriesResolver the hostsFileEntriesResolver, DnsServerAddressStreamProvider HostsFileEntriesResolver used to check for local aliasesThe dnsServerAddressStreamProvider, String[] DnsServerAddressStreamProvider used to determine the name
servers for each hostname lookup.the list of search domain
(can be null, if so, will try to default to the underlying platform ones) searchDomains, int the ndots value ndots, boolean true if domain / host names should be decoded to unicode when received.
See rfc3492. | |
io.
the eventLoop, ChannelFactory<? extends DatagramChannel> EventLoop which will perform the communication with the DNS serversthe channelFactory, final DnsCache ChannelFactory that will create a DatagramChannelthe DNS resolved entries cache resolveCache, final AuthoritativeDnsServerCache the cache used to find the authoritative DNS server for a domain authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory used to generate new instances of dnsQueryLifecycleObserverFactory, long DnsQueryLifecycleObserver which
can be used to track metrics for DNS servers.timeout of each DNS query in millis. queryTimeoutMillis, ResolvedAddressTypes 0 disables the timeout. If not set or a
negative number is set, the default timeout is used.the preferred address types resolvedAddressTypes, boolean if recursion desired flag must be set recursionDesired, int the maximum allowed number of DNS queries for a given name resolution maxQueriesPerResolve, boolean if trace is enabled traceEnabled, int the capacity of the datagram packet buffer maxPayloadSize, boolean if automatic inclusion of a optional records is enabled optResourceEnabled, HostsFileEntriesResolver the hostsFileEntriesResolver, DnsServerAddressStreamProvider HostsFileEntriesResolver used to check for local aliasesThe dnsServerAddressStreamProvider, String[] DnsServerAddressStreamProvider used to determine the name
servers for each hostname lookup.the list of search domain
(can be null, if so, will try to default to the underlying platform ones) searchDomains, int the ndots value ndots, boolean true if domain / host names should be decoded to unicode when received.
See rfc3492. | |
io.
Deprecated as a consequence of | |
Returns: thisthe authoritative NS servers cache authoritativeDnsServerCache)Use | |
io.
Deprecated as a consequence of | |
io.
Deprecated as a consequence of | |
Returns: thisthe channelFactory)ChannelFactoryDeprecated as a consequence of | |
io.
Deprecated as a consequence of | |
Returns: thisthe channelFactory)ChannelFactory or null
if TCP fallback should not be supported.
By default, TCP fallback is not enabled.Deprecated as a consequence of | |
Returns: thisthe channelFactory, boolean ChannelFactory or null
if TCP fallback should not be supported.
By default, TCP fallback is not enabled.if retryOnTimeout)true the DnsNameResolver will also fallback to TCP if a timeout
was detected, if false it will only try to use TCP if the response was marked
as truncated.Deprecated as a consequence of | |
Returns: thistrue if trace is enabled traceEnabled)Prefer to configure
a | |
io.
Use
Returns the list of the system DNS server addresses. If it failed to retrieve the list of the system DNS server
addresses from the environment, it will return | |
io.
Use
Returns the This method has the same effect with the following code: DnsServerAddresses.sequential(DnsServerAddresses.defaultAddressList()); | |
io.
Deprecated as a consequence of |