Simple NOTIFY CDS query test case

Make sure the signer sends out NOTIFY CDS queries.
This commit is contained in:
Matthijs Mekking
2023-11-05 10:41:14 +01:00
parent 1dc4fa6dee
commit a1281025d8
+11
View File
@@ -83,6 +83,17 @@ check_keytimes
check_apex
dnssec_verify
# Check if NOTIFY CDS queries have been sent.
n=$((n + 1))
ret=0
echo_i "check that NOTIFY CDS queries have been sent ($n)"
# We check by grepping the logs. A better test would be to
# ensure that the NOTIFY message was actually sent.
grep "zone model2.multisigner/IN: notifycds: send NOTIFY CDS query to scanner.multisigner" ns3/named.run > /dev/null || ret=1
grep "zone model2.secondary/IN (signed): notifycds: send NOTIFY CDS query to scanner.secondary" ns3/named.run > /dev/null || ret=1
test "$ret" -eq 0 || echo_i "failed"
status=$((status + ret))
#
# Update DNSKEY RRset.
#