diff options
author | Casey Deccio <casey@deccio.net> | 2016-07-29 21:35:58 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2016-07-29 21:35:58 +0300 |
commit | daf8c6d19c7be12440ed3b99e9440f6dce663902 (patch) | |
tree | 2db7281e729dc607793ebcb792b11b190df76fb3 | |
parent | 3dec52be2af4ee36ba37be7016f14ac27c8eba4b (diff) | |
parent | 229bcff56c61f1223663797e797a6e632f383412 (diff) |
Merge branch 'master' into localres
-rw-r--r-- | dnsviz/analysis/offline.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/dnsviz/analysis/offline.py b/dnsviz/analysis/offline.py index 571e3c1..b4061b9 100644 --- a/dnsviz/analysis/offline.py +++ b/dnsviz/analysis/offline.py @@ -1443,17 +1443,14 @@ class OfflineDomainNameAnalysis(OnlineDomainNameAnalysis): if self.analysis_type != ANALYSIS_TYPE_AUTHORITATIVE: return + if self.explicit_delegation: + return + all_names = self.get_ns_names() names_from_child = self.get_ns_names_in_child() names_from_parent = self.get_ns_names_in_parent() - # With explicit delegations we won't have queried for authoritative NS - # records, but we also don't need to check delegation consistency in - # that case. - if (self.name, dns.rdatatype.NS) in self.queries: - auth_ns_response = self.queries[(self.name, dns.rdatatype.NS)].is_valid_complete_authoritative_response_any() - else: - auth_ns_response = False + auth_ns_response = self.queries[(self.name, dns.rdatatype.NS)].is_valid_complete_authoritative_response_any() glue_mapping = self.get_glue_ip_mapping() auth_mapping = self.get_auth_ns_ip_mapping() |