@Override
	public InetAddress[] lookupAllHostAddr(String name) throws UnknownHostException {
		Set<InetAddress> ipAddresses = instance.get(name);
		if (ipAddresses != null) {
			return DnsUtils.shuffle(ipAddresses.toArray(new InetAddress[0]));
		} else {
			return defaultDnsImpl.lookupAllHostAddr(name);
		}
	}
Get InetAddresses by hostname.

@param name hostname
@return ip addresses
@throws UnknownHostException occurs when hostname can not be found.
ngrinder-runtime/src/main/java/org/ngrinder/dns/LocalManagedDnsProxy.java