No CNAME following for NSEC query
Merge request reports
Activity
Added 48 commits:
- 819b6407...77402c00 - 43 commits from branch
master
- ca4021e2 - server: don't follow CNAME when querying for NSEC
- 8a8c167e - tests-extra: allow default propagation to check_rr
- b0d6acc6 - tests-extra: assert valid section name in Response.check_rr
- 808ede4e - tests-extra: add Response.check_no_rr as a complement to check_rr
- 340ab89c - tests-extra: add tests for CNAME following
Toggle commit list- 819b6407...77402c00 - 43 commits from branch
Added bug label
Reassigned to @dsalzman
57 57 isset(not(self.resp.ednsflags & flag_val), "NO %s FLAG" % flag) 58 58 59 def check_rr(self, section="answer", rname=None, rtype=None): 59 def _check_rr(self, expect, section=None, rname=None, rtype=None): 60 60 """ 61 61 Check for a presence of a RR with given name and type. 62 62 """ 63 section_rrsets = getattr(self.resp, section) 63 if section is None: 64 section = "answer" 64 65 if rname is not None: 65 66 rname = dns.name.from_text(rname) 66 67 if rtype is not None: 67 68 rtype = dns.rdatatype.from_text(rtype) 68 69 70 assert section in ["answer", "authority", "additional"] mentioned in commit 21b1bf82
Please register or sign in to reply