From cc8c41eadc2128678b9753bc53a619f94ca16a68 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Thu, 13 Jul 2017 08:48:08 +0200 Subject: [PATCH] auth: add a test to make sure we lookup DS in the right zone --- regression-tests/tests/ds-at-parent/command | 2 ++ regression-tests/tests/ds-at-parent/description | 2 ++ regression-tests/tests/ds-at-parent/expected_result | 3 +++ 3 files changed, 7 insertions(+) create mode 100755 regression-tests/tests/ds-at-parent/command create mode 100644 regression-tests/tests/ds-at-parent/description create mode 100644 regression-tests/tests/ds-at-parent/expected_result diff --git a/regression-tests/tests/ds-at-parent/command b/regression-tests/tests/ds-at-parent/command new file mode 100755 index 000000000..e86c9af7a --- /dev/null +++ b/regression-tests/tests/ds-at-parent/command @@ -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 index 000000000..bafcc9bde --- /dev/null +++ b/regression-tests/tests/ds-at-parent/description @@ -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 index 000000000..97172cc7f --- /dev/null +++ b/regression-tests/tests/ds-at-parent/expected_result @@ -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 -- 2.40.0