|
|
|
@ -420,10 +420,10 @@ private boolean isResponseSatisfactory(Message response)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int rcode = response.getRcode();
|
|
|
|
int rcode = response.getRcode();
|
|
|
|
//we didn't find any responses and unless the answer is NXDOMAIN then
|
|
|
|
//we didn't find any responses and the answer is NXDOMAIN then
|
|
|
|
//we may want to check with the backup resolver for a second opinion
|
|
|
|
//we may want to check with the backup resolver for a second opinion
|
|
|
|
if(rcode == Rcode.NXDOMAIN)
|
|
|
|
if(rcode == Rcode.NXDOMAIN)
|
|
|
|
return true;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
//if we received NODATA (same as NOERROR and no response records) for
|
|
|
|
//if we received NODATA (same as NOERROR and no response records) for
|
|
|
|
// an AAAA or a NAPTR query then it makes sense since many existing
|
|
|
|
// an AAAA or a NAPTR query then it makes sense since many existing
|
|
|
|
|