请参阅: 说明
接口 | 说明 |
---|---|
AuthoritativeDnsServerCache |
Cache which stores the nameservers that should be used to resolve a specific hostname.
|
DnsCache |
A cache for DNS resolution entries.
|
DnsCacheEntry |
Represents the results from a previous DNS query which can be cached.
|
DnsCnameCache |
A cache for
CNAME s. |
DnsQueryLifecycleObserver |
This interface provides visibility into individual DNS queries.
|
DnsQueryLifecycleObserverFactory |
Used to generate new instances of
DnsQueryLifecycleObserver . |
DnsServerAddressStream |
An infinite stream of DNS server addresses.
|
DnsServerAddressStreamProvider |
Provides an opportunity to override which
DnsServerAddressStream is used to resolve a specific hostname. |
DnsServerResponseFeedbackAddressStream |
An infinite stream of DNS server addresses, that requests feedback to be returned to it.
|
异常错误 | 说明 |
---|---|
DnsErrorCauseException |
A metadata carrier exception, to propagate
DnsResponseCode information as an enrichment
within the UnknownHostException cause. |
DnsNameResolverException |
A
RuntimeException raised when DnsNameResolver failed to perform a successful query. |
DnsNameResolverTimeoutException |
A
DnsNameResolverException raised when DnsNameResolver failed to perform a successful query because
of an timeout. |