public class SystemDefaultDnsResolver extends Object implements DnsResolver
InetAddress.getAllByName(String)
to resolve hosts to ip addressesConstructor and Description |
---|
SystemDefaultDnsResolver() |
Modifier and Type | Method and Description |
---|---|
InetAddress[] |
resolve(String host) |
public InetAddress[] resolve(String host) throws UnknownHostException
resolve
in interface DnsResolver
UnknownHostException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.