Add algorithm rollover test case

Add a test case for algorithm rollover.  This is triggered by
changing the dnssec-policy.  A new nameserver ns6 is introduced
for tests related to dnssec-policy changes.

This requires a slight change in check_next_key_event to only
check the last occurrence.  Also, change the debug log message in
lib/dns/zone.c to deal with checks when no next scheduled key event
exists (and default to loadkeys interval 3600).

(cherry picked from commit 88ebe9581b)
This commit is contained in:
Matthijs Mekking
2020-02-18 16:36:31 +01:00
parent 08ed7461af
commit f8b555a3a2
11 changed files with 557 additions and 8 deletions

View File

@@ -11,3 +11,5 @@ ns2 is running primary service for ns3.
ns3 is an authoritative server for the various test domains.
ns4 and ns5 are authoritative servers for various test domains related to views.
ns6 is an authoritative server that tests changes in dnssec-policy.