程序包 | 说明 |
---|---|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
io.netty.resolver.dns.macos |
MacOS specific nameserver resolution.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
DnsServerResponseFeedbackAddressStream
An infinite stream of DNS server addresses, that requests feedback to be returned to it.
|
限定符和类型 | 方法和说明 |
---|---|
DnsServerAddressStream |
DnsServerAddressStream.duplicate()
Duplicate this object.
|
DnsServerAddressStream |
NoopAuthoritativeDnsServerCache.get(java.lang.String hostname) |
DnsServerAddressStream |
DefaultAuthoritativeDnsServerCache.get(java.lang.String hostname) |
DnsServerAddressStream |
AuthoritativeDnsServerCache.get(java.lang.String hostname)
Returns the cached nameservers that should be used to resolve the given hostname.
|
DnsServerAddressStream |
UnixResolverDnsServerAddressStreamProvider.nameServerAddressStream(java.lang.String hostname) |
DnsServerAddressStream |
MultiDnsServerAddressStreamProvider.nameServerAddressStream(java.lang.String hostname) |
DnsServerAddressStream |
DnsServerAddressStreamProvider.nameServerAddressStream(java.lang.String hostname)
Ask this provider for the name servers to query for
hostname . |
DnsServerAddressStream |
DefaultDnsServerAddressStreamProvider.nameServerAddressStream(java.lang.String hostname) |
protected DnsServerAddressStream |
DnsNameResolver.newRedirectDnsServerStream(java.lang.String hostname,
java.util.List<java.net.InetSocketAddress> nameservers)
Creates a new
DnsServerAddressStream to following a redirected DNS query. |
DnsServerAddressStream |
DnsNameResolver.queryDnsServerAddressStream()
Returns the dns server address stream used for DNS queries (not resolve).
|
protected DnsServerAddressStream |
DnsNameResolverBuilder.queryServerAddressStream() |
abstract DnsServerAddressStream |
DnsServerAddresses.stream()
Starts a new infinite stream of DNS server addresses.
|
限定符和类型 | 方法和说明 |
---|---|
DnsNameResolverBuilder |
DnsNameResolverBuilder.queryServerAddressStream(DnsServerAddressStream queryServerAddressStream)
Set the
DnsServerAddressStream which provides the server address for DNS queries. |
限定符和类型 | 方法和说明 |
---|---|
DnsServerAddressStream |
MacOSDnsServerAddressStreamProvider.nameServerAddressStream(java.lang.String hostname) |