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.ResolvedAddressTypes
from some InternetProtocolFamily
s.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.
DnsCache
, backed by a ConcurrentMap
.DnsServerAddressStreamProvider
which will use predefined default DNS servers to use for DNS resolution.AddressResolverGroup
of DnsNameResolver
s.InetNameResolver
.DnsNameResolver
builder.RuntimeException
raised when DnsNameResolver
failed to perform a successful query.DnsQueryLifecycleObserver
.DnsNameResolver
.DnsServerAddressStream
is used to resolve a specific hostname.DnsServerAddressStreamProvider
.true
if and only if this resolver sends a DNS query with the RD (recursion desired) flag set.DnsServerAddressStreamProvider
which iterates through a collection of
DnsServerAddressStreamProvider
until the first non-null
result is found.hostname
.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
.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.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–2017 The Netty Project. All rights reserved.