From 6dccf03f1241e3dc1eb16f3999733c7490daa923 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 24 Apr 2014 10:05:20 +0300 Subject: [PATCH] Makes the parallel resolver check and the backup servers when the answer is NXDOMAIN. --- .../java/sip/communicator/impl/dns/ParallelResolverImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/java/sip/communicator/impl/dns/ParallelResolverImpl.java b/src/net/java/sip/communicator/impl/dns/ParallelResolverImpl.java index e58968e51..b00ff5b68 100644 --- a/src/net/java/sip/communicator/impl/dns/ParallelResolverImpl.java +++ b/src/net/java/sip/communicator/impl/dns/ParallelResolverImpl.java @@ -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