l.setSearchPath(searchPaths);
Record[] r = l.run();
try {
if (l.getResult() == Lookup.TRY_AGAIN) {
throw new TemporaryResolutionException(
"DNSService is temporary not reachable");
} else {
return r;
}
} catch (IllegalStateException ise) {
// This is okay, because it mimics the original behaviour
// TODO find out if it's a bug in DNSJava
logger.debug("Error determining result ", ise);
throw new TemporaryResolutionException(
"DNSService is temporary not reachable");
}
// return rawDNSLookup(name, false, type, typeDesc);
} catch (TextParseException tpe) {