No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
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 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, 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 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, 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. | |
Returns: thisthe authoritative NS servers cache authoritativeDnsServerCache)Use | |
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()); |