Skip to content
Snippets Groups Projects
Commit 7679980d authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

tests: deal with Bind bug

parent b1f2a823
No related branches found
No related tags found
1 merge request!1292nameserver: prove wildcards in referral answers
Pipeline #82076 passed
......@@ -294,11 +294,15 @@ def query_test(knot, bind, dnssec):
# Wildcard chain to A (NODATA)
resp = knot.dig("a.wildcard-cname.flags", "TXT", udp=True, dnssec=dnssec)
resp.cmp(bind)
resp.cmp(bind, additional=True)
# Wildcard chain to NS
resp = knot.dig("a.wildcard-deleg.flags", "NS", udp=True, dnssec=dnssec)
resp.cmp(bind, additional=True)
if resp.count(rtype="NSEC", section="authority") > 0:
# Bind does this one wrong, but working on it.
resp.check_count(2, rtype="NSEC", section="authority")
else:
resp.cmp(bind, additional=True)
# Wildcard leading out
resp = knot.dig("a.wildcard-out.flags", "A", udp=True, dnssec=dnssec)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment