Add regression test for [GL !3735]

Check that resign interval is actually in days rather than hours
by checking that RRSIGs are all within the allowed day range.

(cherry picked from commit 11ecf7901b)
This commit is contained in:
Mark Andrews
2020-06-25 21:27:29 +10:00
parent 31005d61ae
commit 90154d203b
4 changed files with 193 additions and 0 deletions

View File

@@ -182,4 +182,13 @@ zone "corp" {
file "corp.db";
};
zone "hours-vs-days" {
type master;
file "hours-vs-days.db.signed";
auto-dnssec maintain;
/* validity 500 days, resign in 499 days */
sig-validity-interval 500 499;
allow-update { any; };
};
include "trusted.conf";