|Modifier and Type||Method and Description|
Java VM default resolver.
Returns the IP address for the specified host name.
static DnsResolver jvmDefault()
static DnsResolver unresolved()
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
DnsResolverand should happen by netty, see
UnknownHostException- if the given host is not recognized or the associated IP address cannot be used to build an
Copyright © 2019 lettuce.io. All rights reserved.