public interface DnsResolver
| Modifier and Type | Method and Description |
|---|---|
InetAddress[] |
resolve(String host)
Returns the IP address for the specified host name.
|
InetAddress[] resolve(String host) throws UnknownHostException
host - the hostname, must not be empty or null.adresses. An empty array indicates that DNS resolution is not supported
by this DnsResolver and should happen by netty, see
InetSocketAddress.createUnresolved(String, int).UnknownHostException - if the given host is not recognized or the associated IP address cannot be used to build an
InetAddress instanceCopyright © 2018 lettuce.io. All rights reserved.