resolver.setTargetFailed(req.getRemote(), expireTime);
}
// but for the current request we also mark it as failed
// so regardless of the quarantine time it will not be tried twice
// for the same request
req.addFailedTarget(req.getRemote());
// shortcut to let the dns resolver consider the failed targets
// for this request by setting them via threadlocal
DnsResolver.getInstance().setThreadLocalFailedTargets(req.getFailedTargets());
TargetTuple newDestination = resolver.resolveRequest(req,
req.getMessageSize());