| Modifier and Type | Method and Description |
|---|---|
| public void | cache(String
the hostname hostname, InetSocketAddress the nameserver address (which may be unresolved). address, long the TTL as returned by the DNS server originalTtl, EventLoop the loop)EventLoop used to register the TTL timeoutCaches a nameserver that should be used to resolve the given hostname. |
| public void | |
| public boolean | |
| public DnsServerAddressStream |
| cache | back to summary |
|---|---|
| public void cache(String hostname, InetSocketAddress address, long originalTtl, EventLoop loop) Caches a nameserver that should be used to resolve the given hostname.
| |
| clear | back to summary |
|---|---|
| public void clear() Clears all cached nameservers.
| |
| clear | back to summary |
|---|---|
| public boolean clear(String hostname) Clears the cached nameservers for the specified hostname.
| |
| get | back to summary |
|---|---|
| public DnsServerAddressStream get(String hostname) Returns the cached nameservers that should be used to resolve the given hostname. The returned
| |