// If the currentResult is not fail we have no need to run all these
// methods!
if (spfData.getCurrentResult()== null || !spfData.getCurrentResult().equals(SPF1Constants.FAIL))
return;
host = new MacroExpand(spfData, log).expandDomain(host);
try {
try {
exp = getTxtType(dnsService, host);
} catch (TempErrorException e) {
// Nothing todo here.. just return null
return;
}
if ((exp != null) && (!exp.equals(""))) {
spfData.setExplanation(new MacroExpand(spfData, log)
.expandExplanation(exp));
}
} catch (PermErrorException e) {
// TODO add logging here!
// Only catch the error and return null