*/
private InetAddress[] requestLookup(String host) throws UnknownHostException {
InetAddress[] addresses = null;
if (isCustomResolver() && ((ExtendedResolver) resolver).getResolvers().length > 1) {
try {
Lookup lookup = new Lookup(host, Type.A);
lookup.setCache(lookupCache);
lookup.setResolver(resolver);
Record[] records = lookup.run();
if (records.length == 0) {
throw new UnknownHostException("Failed to resolve host name: " + host);
}
addresses = new InetAddress[records.length];
for (int i = 0; i < records.length; i++) {