Skip to content

Commit 8553fd1

Browse files
auth: add SIGNALING-ZONE tests
1 parent 5368557 commit 8553fd1

File tree

10 files changed

+19
-0
lines changed

10 files changed

+19
-0
lines changed

regression-tests/named.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,7 @@ zone "hiddencryptokeys.org"{
9898
file "hiddencryptokeys.org";
9999
};
100100

101+
zone "_signal.ns1.example.net"{
102+
type primary;
103+
file "_signal.ns1.example.net";
104+
};

regression-tests/start-test-stop

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ securezone ()
151151
$PDNSUTIL --config-dir=. $configname set-publish-cds $zone 0 2>&1
152152
$PDNSUTIL --config-dir=. $configname set-publish-cdnskey $zone delete 2>&1
153153
fi
154+
if [ "$zone" = "_signal.ns1.example.net" ]; then
155+
$PDNSUTIL --config-dir=. $configname set-meta $zone SIGNALING-ZONE 1 2>&1
156+
fi
154157
fi
155158
}
156159

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
cleandig _dsboot.cdnskey-cds-test.com._signal.ns1.example.net. CDS dnssec
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Check that we synthesise DNSSEC bootstrapping records.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
0 _dsboot.cdnskey-cds-test.com._signal.ns1.example.net. 86400 IN CDS [keytag] 13 2 [digest]
2+
0 _dsboot.cdnskey-cds-test.com._signal.ns1.example.net. 86400 IN RRSIG CDS 13 7 86400 [expiry] [inception] [keytag] _signal.ns1.example.net. ...
3+
2 . 32768 IN OPT
4+
Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
5+
Reply to question for qname='_dsboot.cdnskey-cds-test.com._signal.ns1.example.net.', qtype=CDS

regression-tests/tests/authsignal/skip.nodnssec

Whitespace-only changes.

regression-tests/tests/authsignal/skip.nsec3

Whitespace-only changes.

regression-tests/tests/authsignal/skip.optout

Whitespace-only changes.

regression-tests/tests/authsignal/skip.presigned

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_signal.ns1.example.net. 86400 IN SOA ns1.example.net. admin.example.net. 2018031900 (
2+
1800 900 604800 86400 )
3+
86400 IN NS ns1.example.net.
4+
86400 IN NS ns2.example.net.

0 commit comments

Comments
 (0)