From 4664b1c45ed8ba0318769c400b691c3a6f5e2975 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 7 Jun 2016 04:12:15 -0700 Subject: [PATCH] add auth-zone-delegation test --- regression-tests.recursor/auth-zone-delegation/command | 2 ++ regression-tests.recursor/auth-zone-delegation/description | 3 +++ .../auth-zone-delegation/expected_result | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100755 regression-tests.recursor/auth-zone-delegation/command create mode 100644 regression-tests.recursor/auth-zone-delegation/description create mode 100644 regression-tests.recursor/auth-zone-delegation/expected_result diff --git a/regression-tests.recursor/auth-zone-delegation/command b/regression-tests.recursor/auth-zone-delegation/command new file mode 100755 index 0000000000..96c443eb40 --- /dev/null +++ b/regression-tests.recursor/auth-zone-delegation/command @@ -0,0 +1,2 @@ +cleandig www.france.auth-zone.example.net. A | sed 's/\(.*\tIN\t[A-Z0-9]\+\t\)\([0-9]\+\)/\13600/' +cleandig france.auth-zone.example.net. A | sed 's/\(.*\tIN\t[A-Z0-9]\+\t\)\([0-9]\+\)/\13600/' diff --git a/regression-tests.recursor/auth-zone-delegation/description b/regression-tests.recursor/auth-zone-delegation/description new file mode 100644 index 0000000000..658360dd28 --- /dev/null +++ b/regression-tests.recursor/auth-zone-delegation/description @@ -0,0 +1,3 @@ +Test: +(1) lookup of a record below a delegation in an auth zone +(2) lookup of a record AT a delegation in an auth zone diff --git a/regression-tests.recursor/auth-zone-delegation/expected_result b/regression-tests.recursor/auth-zone-delegation/expected_result new file mode 100644 index 0000000000..2388e911b1 --- /dev/null +++ b/regression-tests.recursor/auth-zone-delegation/expected_result @@ -0,0 +1,6 @@ +0 www.france.auth-zone.example.net. IN A 3600 192.0.2.23 +Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0 +Reply to question for qname='www.france.auth-zone.example.net.', qtype=A +0 france.auth-zone.example.net. IN A 3600 192.0.2.223 +Rcode: 0 (No Error), RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0 +Reply to question for qname='france.auth-zone.example.net.', qtype=A -- 2.47.2