DnsQueryLifecycleObserver
into a single DnsQueryLifecycleObserver
.DnsQueryLifecycleObserverFactory
into a single DnsQueryLifecycleObserverFactory
.DnsNameResolver
instance.DnsCacheEntry
and cache a resolved address for a given hostname.ChannelFactory
that will create a DatagramChannel
.ChannelFactory
as a ReflectiveChannelFactory
of this type.CNAME
mappings.true
SimpleNameResolver.resolveAll(String)
will notify the returned Future
as
soon as all queries for the preferred address-type are complete.ResolvedAddressTypes
from some InternetProtocolFamily
s.DnsNameResolverBuilder
DnsServerAddresses
that yields the system DNS server addresses sequentially.DefaultDnsServerAddressStreamProvider.defaultAddresses()
.
Returns the DnsServerAddresses
that yields the system DNS server addresses sequentially. If it failed to
retrieve the list of the system DNS server addresses from the environment, it will use "8.8.8.8"
and
"8.8.4.4"
, the addresses of the Google public DNS servers.
This method has the same effect with the following code:
DnsServerAddresses.sequential(DnsServerAddresses.defaultAddressList());
DefaultDnsServerAddressStreamProvider.defaultAddressList()
.
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 "8.8.8.8"
and "8.8.4.4"
, the addresses of the
Google public DNS servers.
AuthoritativeDnsServerCache
, backed by a ConcurrentMap
.DnsCache
, backed by a ConcurrentMap
.DnsCnameCache
.DnsServerAddressStreamProvider
which will use predefined default DNS servers to use for DNS resolution.AddressResolverGroup
of DnsNameResolver
s.CNAME
s.InetNameResolver
.DnsNameResolver
builder.RuntimeException
raised when DnsNameResolver
failed to perform a successful query.DnsNameResolverException
raised when DnsNameResolver
failed to perform a successful query because
of an timeout.DnsQueryLifecycleObserver
.DnsNameResolver
.DnsServerAddressStream
is used to resolve a specific hostname.DnsServerAddressStreamProvider
.EventLoop
which will perform the communication with the DNS servers.true
if and only if this resolver sends a DNS query with the RD (recursion desired) flag set.true
if the Throwable
was caused by an timeout.true
if the Throwable
was caused by an timeout or transport error.DnsServerAddressStreamProvider
which iterates through a collection of
DnsServerAddressStreamProvider
until the first non-null
result is found.hostname
.Comparator
implementation to sort the nameservers to use when follow redirects.DnsServerAddressStreamProvider
which is used to determine which DNS server is used to resolve
each hostname.AddressResolver
.DnsAddressResolverGroup.newNameResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider)
,
because we need to eliminate possible caching of NameResolver.resolve(java.lang.String)
by InflightNameResolver
created in
DnsAddressResolverGroup.newResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider)
.DnsQueryLifecycleObserver
.NameResolver
.DnsServerAddressStream
to following a redirected DNS query.AuthoritativeDnsServerCache
that actually never caches anything.DnsServerAddressStreamProvider
which inherits the DNS servers from your local host's configuration.DnsResponseCode.NXDOMAIN
so we may try to query again.DnsQuestion
of the DNS query that has failed.InetSocketAddress
of the DNS query that has failed.DnsRecord
s that are matched by the specified DnsQuestion
.DnsRecord
s that are matched by the specified DnsQuestion
.DnsRecord
s that are matched by the specified DnsQuestion
.ResolvedAddressTypes
resolved by SimpleNameResolver.resolve(String)
.DnsServerAddresses
that yields the specified addresses
in a rotational sequential
order.DnsServerAddresses
that yields the specified addresses
in a rotational sequential
order.AddressResolverGroup
of DnsNameResolver
s that supports random selection of destination addresses if
multiple are provided by the nameserver.DnsServerAddresses
that yields the specified addresses
sequentially.DnsServerAddresses
that yields the specified addresses
sequentially.DnsServerAddressStreamProvider
which is backed by a sequential list of DNS servers.DnsServerAddresses
that yields the specified address
in a shuffled order.DnsServerAddresses
that yields the specified addresses
in a shuffled order.DnsServerAddresses
that yields only a single address
.DnsServerAddressStreamProvider
which always uses a single DNS server for resolution.DnsServerAddressStream.next()
will return a distinct element before repeating or terminating.Copyright © 2008–2020 The Netty Project. All rights reserved.