return queryResult;
}
// check bad host cache ...
Node resolvedNode = _badHostCache.findNode(hostName);
if (resolvedNode != null) {
// LOG.info("Found in Bad Host Cache:" + hostName + " ttl:" + new
// Date(resolvedNode.getTimeToLive()));
}
// IFF found and the bad node has not expired ...
if (resolvedNode != null
&& resolvedNode.getTimeToLive() >= System.currentTimeMillis()) {
// LOG.info("Host:" + hostName + " Identified as Bad Host via Cache");
NIODNSQueryResult queryResult = new NIODNSQueryResult(null, client, hostName);