From 1106e957fbf30e086bdfd19fdec43414a3b07c9e Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 13 Oct 2017 10:28:56 -0700 Subject: [PATCH] [v9_10] fix filter-aaaa test [RT #46268] (cherry picked from commit 666af25a92907ff3657e8a106ba4d4eca260888b) --- bin/tests/system/filter-aaaa/ns1/root.db | 12 ++++++++---- bin/tests/system/filter-aaaa/ns1/signed.db.in | 10 ++++++---- .../system/filter-aaaa/ns1/signed.db.presigned | 4 ++-- bin/tests/system/filter-aaaa/ns1/unsigned.db | 10 ++++++---- bin/tests/system/filter-aaaa/ns4/root.db | 16 ++++++++++------ bin/tests/system/filter-aaaa/ns4/signed.db.in | 10 ++++++---- bin/tests/system/filter-aaaa/ns4/unsigned.db | 10 ++++++---- bin/tests/system/filter-aaaa/tests.sh | 2 -- 8 files changed, 44 insertions(+), 30 deletions(-) diff --git a/bin/tests/system/filter-aaaa/ns1/root.db b/bin/tests/system/filter-aaaa/ns1/root.db index d485e733dd..af4a8ca7f5 100644 --- a/bin/tests/system/filter-aaaa/ns1/root.db +++ b/bin/tests/system/filter-aaaa/ns1/root.db @@ -12,13 +12,17 @@ ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. -; $Id: root.db,v 1.4 2012/01/31 23:47:32 tbox Exp $ - $TTL 120 @ SOA ns.utld hostmaster.ns.utld ( 1 3600 1200 604800 60 ) @ NS ns.utld ns.utld A 10.53.0.1 ns.utld AAAA fd92:7065:b8e:ffff::1 ; -signed NS ns.utld -unsigned NS ns.utld + +signed NS ns.signed +ns.signed A 10.53.0.1 +ns.signed AAAA fd92:7065:b8e:ffff::1 + +unsigned NS ns.unsigned +ns.unsigned A 10.53.0.1 +ns.unsigned AAAA fd92:7065:b8e:ffff::1 diff --git a/bin/tests/system/filter-aaaa/ns1/signed.db.in b/bin/tests/system/filter-aaaa/ns1/signed.db.in index 7b8ec518ba..7cce21b078 100644 --- a/bin/tests/system/filter-aaaa/ns1/signed.db.in +++ b/bin/tests/system/filter-aaaa/ns1/signed.db.in @@ -12,12 +12,14 @@ ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. -; $Id: signed.db.in,v 1.4 2012/01/31 23:47:32 tbox Exp $ - $TTL 120 -@ SOA ns.utld. hostmaster.ns.utld. ( 1 3600 1200 604800 60 ) -@ NS ns.utld. +@ SOA ns.signed. hostmaster.ns.signed. ( 1 3600 1200 604800 60 ) +@ NS ns @ MX 10 mx + +ns A 10.53.0.1 + AAAA fd92:7065:b8e:ffff::1 + a-only NS 1.0.0.1 aaaa-only AAAA 2001:db8::2 dual A 1.0.0.3 diff --git a/bin/tests/system/filter-aaaa/ns1/signed.db.presigned b/bin/tests/system/filter-aaaa/ns1/signed.db.presigned index 1a283ef725..d51959d170 100644 --- a/bin/tests/system/filter-aaaa/ns1/signed.db.presigned +++ b/bin/tests/system/filter-aaaa/ns1/signed.db.presigned @@ -1,6 +1,6 @@ ; File written on Thu May 1 12:16:00 2014 ; dnssec_signzone version 9.8.5-P1 -signed. 120 IN SOA ns.utld. hostmaster.ns.utld. ( +signed. 120 IN SOA tld.utld. hostmaster.ns.utld. ( 1 ; serial 3600 ; refresh (1 hour) 1200 ; retry (20 minutes) @@ -11,7 +11,7 @@ signed. 120 IN SOA ns.utld. hostmaster.ns.utld. ( 20140501011600 12955 signed. BEFlElqfz17JeL/ISbgEz7yenWy2QjhgdMUx VDLBx3+Eiz1nyB1CpWw= ) - 120 NS ns.utld. + 120 NS tld.utld. 120 RRSIG NS 3 1 120 20820519023008 ( 20140501011600 12955 signed. BC4nYbfEyROe0CZPj/cHRl7BCIc0MbzpDBwz diff --git a/bin/tests/system/filter-aaaa/ns1/unsigned.db b/bin/tests/system/filter-aaaa/ns1/unsigned.db index 7f7e8e54c8..169121cf8b 100644 --- a/bin/tests/system/filter-aaaa/ns1/unsigned.db +++ b/bin/tests/system/filter-aaaa/ns1/unsigned.db @@ -12,12 +12,14 @@ ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. -; $Id: unsigned.db,v 1.4 2012/01/31 23:47:32 tbox Exp $ - $TTL 120 -@ SOA ns.utld. hostmaster.ns.utld. ( 1 3600 1200 604800 60 ) -@ NS ns.utld. +@ SOA ns.unsigned. hostmaster.ns.unsigned. ( 1 3600 1200 604800 60 ) +@ NS ns @ MX 10 mx + +ns A 10.53.0.1 + AAAA fd92:7065:b8e:ffff::1 + a-only NS 1.0.0.4 aaaa-only AAAA 2001:db8::5 dual A 1.0.0.6 diff --git a/bin/tests/system/filter-aaaa/ns4/root.db b/bin/tests/system/filter-aaaa/ns4/root.db index d485e733dd..96e8fb2789 100644 --- a/bin/tests/system/filter-aaaa/ns4/root.db +++ b/bin/tests/system/filter-aaaa/ns4/root.db @@ -13,12 +13,16 @@ ; PERFORMANCE OF THIS SOFTWARE. ; $Id: root.db,v 1.4 2012/01/31 23:47:32 tbox Exp $ - -$TTL 120 @ SOA ns.utld hostmaster.ns.utld ( 1 3600 1200 604800 60 ) @ NS ns.utld -ns.utld A 10.53.0.1 -ns.utld AAAA fd92:7065:b8e:ffff::1 +ns.utld A 10.53.0.4 +ns.utld AAAA fd92:7065:b8e:ffff::4 ; -signed NS ns.utld -unsigned NS ns.utld + +signed NS ns.signed +ns.signed A 10.53.0.4 +ns.signed AAAA fd92:7065:b8e:ffff::4 + +unsigned NS ns.unsigned +ns.unsigned A 10.53.0.4 +ns.unsigned AAAA fd92:7065:b8e:ffff::4 diff --git a/bin/tests/system/filter-aaaa/ns4/signed.db.in b/bin/tests/system/filter-aaaa/ns4/signed.db.in index 7b8ec518ba..6e04a731e4 100644 --- a/bin/tests/system/filter-aaaa/ns4/signed.db.in +++ b/bin/tests/system/filter-aaaa/ns4/signed.db.in @@ -12,12 +12,14 @@ ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. -; $Id: signed.db.in,v 1.4 2012/01/31 23:47:32 tbox Exp $ - $TTL 120 -@ SOA ns.utld. hostmaster.ns.utld. ( 1 3600 1200 604800 60 ) -@ NS ns.utld. +@ SOA ns.signed. hostmaster.ns.signed. ( 1 3600 1200 604800 60 ) +@ NS ns @ MX 10 mx + +ns A 10.53.0.4 + AAAA fd92:7065:b8e:ffff::4 + a-only NS 1.0.0.1 aaaa-only AAAA 2001:db8::2 dual A 1.0.0.3 diff --git a/bin/tests/system/filter-aaaa/ns4/unsigned.db b/bin/tests/system/filter-aaaa/ns4/unsigned.db index 7f7e8e54c8..7e3f105c9f 100644 --- a/bin/tests/system/filter-aaaa/ns4/unsigned.db +++ b/bin/tests/system/filter-aaaa/ns4/unsigned.db @@ -12,12 +12,14 @@ ; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ; PERFORMANCE OF THIS SOFTWARE. -; $Id: unsigned.db,v 1.4 2012/01/31 23:47:32 tbox Exp $ - $TTL 120 -@ SOA ns.utld. hostmaster.ns.utld. ( 1 3600 1200 604800 60 ) -@ NS ns.utld. +@ SOA ns.unsigned. hostmaster.ns.unsigned. ( 1 3600 1200 604800 60 ) +@ NS ns @ MX 10 mx + +ns A 10.53.0.4 + AAAA fd92:7065:b8e:ffff::4 + a-only NS 1.0.0.4 aaaa-only AAAA 2001:db8::5 dual A 1.0.0.6 diff --git a/bin/tests/system/filter-aaaa/tests.sh b/bin/tests/system/filter-aaaa/tests.sh index 1eb33a5f97..341a7da5ec 100644 --- a/bin/tests/system/filter-aaaa/tests.sh +++ b/bin/tests/system/filter-aaaa/tests.sh @@ -14,8 +14,6 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.4 2012/01/31 23:47:31 tbox Exp $ - SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh