]> granicus.if.org Git - pdns/commitdiff
docs: Describe RRSIG validity period a bit better
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 17 Oct 2017 13:01:02 +0000 (15:01 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 18 Oct 2017 08:33:31 +0000 (10:33 +0200)
Closes #5714

docs/dnssec/modes-of-operation.rst

index 589ace0c1d900e5cbfcd0dc4a443473a5c622efc..1b03e7a3b47ff7beae7ad1df881e4c34ee3d7eb7 100644 (file)
@@ -84,13 +84,33 @@ In PowerDNS live signing mode, signatures, as served through RRSIG
 records, are calculated on the fly, and heavily cached. All CPU cores
 are used for the calculation.
 
-RRSIGs have a validity period, in PowerDNS by default this period starts
-at most a week in the past, and continues at least a week into the
-future.
-
-Precisely speaking, the time period used is always from the start of the
-previous Thursday until the Thursday two weeks later. This two-week
-interval jumps with one-week increments every Thursday.
+RRSIGs have a validity period, in PowerDNS this period is 3 weeks.
+This period starts at most a week in the past, and continues at least a week into the future.
+This interval jumps with one-week increments every Thursday.
+
+The time period used is always calculated based on the moment of rollover.
+The inception timestamp is the most recent Thursday 00:00:00 UTC, which is exactly one week ago at the moment of rollover.
+The expiry timestamp is the Thursday 00:00:00 UTC two weeks later from the moment of rollover.
+Graphically, it looks like this::
+
+  RRSIG(1) Inception                                                    RRSIG(1) Expiry
+  |                                                                                   |
+  v                                                                                   v
+  |================================ RRSIG(1) validity ================================|
+                              |================================ RRSIG(2) validity ================================|
+                              ^                                                                                   ^
+                              |                                                                                   |
+                              RRSIG(2) Inception                                                    RRSIG(2) Expiry
+
+                              |----- RRSIG(1) served -----|----- RRSIG(2) served -----|
+
+  |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+  thu fri sat sun mon tue wed thu fri sat sun mon tue wed thu fri sat sun mon tue wed thu fri sat sun mon tue wed thu
+                                                          ^
+                                                          |
+                                                          RRSIG roll-over(1 to 2)
+
+At all times, only one RRSIG per signed RRset per ZSK is served when responding to clients.
 
 .. note::
   Why Thursday? POSIX-based operating systems count the time