Skip to content
Snippets Groups Projects
Commit 8f40fbac authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

tests-extra: extended badrecord and notexists tests with SOA query

parent 938f0f7f
Branches
Tags
No related merge requests found
......@@ -14,6 +14,10 @@ t.link(zone, master)
t.start()
# Check if the server is answering and zone _isn't_ loaded
resp = master.dig("badrecord.", "SOA", udp=True)
resp.check(rcode="REFUSED")
# Stop master.
master.stop()
......
......@@ -14,6 +14,14 @@ t.link(zones, master)
t.start()
# Check if the server is answering and zone _isn't_ loaded
resp = master.dig("notexist.", "SOA", udp=True)
resp.check(rcode="REFUSED")
# The other zone should answer without problem
resp = master.dig("wild.", "SOA", udp=True)
resp.check(rcode="NOERROR")
# Stop master.
master.stop()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment