]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: add a test to make sure we lookup DS in the right zone
authorKees Monshouwer <mind04@monshouwer.org>
Thu, 13 Jul 2017 06:48:08 +0000 (08:48 +0200)
committermind04 <mind04@monshouwer.org>
Wed, 26 Jul 2017 17:24:33 +0000 (19:24 +0200)
regression-tests/tests/ds-at-parent/command [new file with mode: 0755]
regression-tests/tests/ds-at-parent/description [new file with mode: 0644]
regression-tests/tests/ds-at-parent/expected_result [new file with mode: 0644]

diff --git a/regression-tests/tests/ds-at-parent/command b/regression-tests/tests/ds-at-parent/command
new file mode 100755 (executable)
index 0000000..e86c9af
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+cleandig something.secure-delegated.dnssec-parent.com DS
diff --git a/regression-tests/tests/ds-at-parent/description b/regression-tests/tests/ds-at-parent/description
new file mode 100644 (file)
index 0000000..bafcc9b
--- /dev/null
@@ -0,0 +1,2 @@
+This test tries to resolve a DS question for a name one label below apex.
+It was written specifically to verify that we look for DS in the right zone.
diff --git a/regression-tests/tests/ds-at-parent/expected_result b/regression-tests/tests/ds-at-parent/expected_result
new file mode 100644 (file)
index 0000000..97172cc
--- /dev/null
@@ -0,0 +1,3 @@
+1      secure-delegated.dnssec-parent.com.     IN      SOA     3600    ns1.secure-delegated.dnssec-parent.com. ahu.example.com. 2005092501 28800 7200 604800 86400
+Rcode: 3 (Non-Existent domain), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='something.secure-delegated.dnssec-parent.com.', qtype=DS