diff options
author | Casey Deccio <casey@deccio.net> | 2016-08-05 22:37:48 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2016-08-05 22:37:48 +0300 |
commit | a82ada432d3fd6b3871f068bb01dd02e53609ff6 (patch) | |
tree | 8f87e6c8da49ffb1561daf31c05df4a7113a8303 | |
parent | b063ba448d77bfc7e9b29fdce715dc8a4b6d0a3c (diff) |
Don't consider referrals as prospective negative responses
-rw-r--r-- | dnsviz/resolver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dnsviz/resolver.py b/dnsviz/resolver.py index 9b2cd57..479fcf8 100644 --- a/dnsviz/resolver.py +++ b/dnsviz/resolver.py @@ -578,6 +578,7 @@ class FullResolver: is_referral = True a_rrsets = {} min_ttl = None + ret = None # if response is referral, then we follow it ns_rrset = [x for x in response.message.authority if qname.is_subdomain(x.name) and x.rdtype == dns.rdatatype.NS][0] |