Makes the parallel resolver check and the backup servers when the answer is NXDOMAIN.

fix-message-formatting 5204
Damian Minkov 12 years ago
parent 44cf91af76
commit 6dccf03f12

@ -420,10 +420,10 @@ private boolean isResponseSatisfactory(Message response)
}
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
if(rcode == Rcode.NXDOMAIN)
return true;
return false;
//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

Loading…
Cancel
Save