@Override
	public InetAddress[] lookupAllHostAddr(String name) throws UnknownHostException {
		try {
			final Lookup lookup = new Lookup(name, Type.A);
			Record[] records = lookup.run();
			if (records == null) {
				throw new UnknownHostException(name);
			}

			InetAddress[] array = new InetAddress[records.length];
			for (int i = 0; i < records.length; i++) {
				ARecord a = (ARecord) records[i];
				array[i] = a.getAddress();
			}
			return array;
		} catch (TextParseException e) {
			throw new UnknownHostException(e.getMessage());
		}
	}
Finds A records (ip addresses) for the host name.

@param name host name to resolve.
@return All the ip addresses found for the host name.
@throws UnknownHostException occurs when name is not available in DNS
ngrinder-runtime/src/main/java/org/ngrinder/dns/LocalManagedDnsImpl.java