public class SystemDefaultDnsResolver extends Object implements DnsResolver
InetAddress.getAllByName(String)
to resolve hosts to ip addressesConstructor and Description |
---|
SystemDefaultDnsResolver() |
public InetAddress[] resolve(String host) throws UnknownHostException
resolve
in interface DnsResolver
UnknownHostException
Copyright © 2024. All rights reserved.