Skip to content
Snippets Groups Projects
Commit 70bfc21c authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

NSEC tests: no wildcard match because empty non-terminal exists

parent ccc6c824
No related branches found
No related tags found
1 merge request!570NSEC proofs refactoring
......@@ -51,6 +51,11 @@ resp = knot.dig("a.z.w.example", "AAAA", dnssec=True)
resp.check(rcode="NOERROR", flags="QR AA", eflags="DO")
resp.cmp(bind)
# No wildcard match because empty non-terminal (y.w.example) exists.
resp = knot.dig("a.y.w.example", "AAAA", dnssec=True)
resp.check(rcode="NXDOMAIN", flags="QR AA", eflags="DO")
resp.cmp(bind)
# Wildcard Expansion to apex
resp = knot.dig("a.to-apex.example", "SOA", dnssec=True)
resp.check(rcode="NOERROR", flags="QR AA", eflags="DO")
......
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