]> git.ipfire.org Git - thirdparty/bind9.git/commit
Jitter signatures times when adding dynamic records.
authorWitold Kręcicki <wpk@isc.org>
Wed, 9 Oct 2019 15:38:44 +0000 (17:38 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 6 Nov 2019 15:30:50 +0000 (16:30 +0100)
commitbc96d7b3bb8a0fd86be95dc8f64ac766c26d64b5
treeaa25049022aa85eb24e3b178f914679c14c91c10
parent0b340031fe38b54d3bddd5a315d5eaadd395bcf4
Jitter signatures times when adding dynamic records.

When doing regular signing expiry time is jittered to make sure
that the re-signing times are not clumped together. This expands
this behaviour to expiry times of dynamically added records.

When incrementally re-signing a zone use the full jitter range if
the server appears to have been offline for greater than 5 minutes
otherwise use a small jitter range of 3600 seconds.  This will stop
the signatures becoming more clustered if the server has been off
line for a significant period of time (> 5 minutes).

Manually edits: resolve conflicts, replace isc_random_uniform
with isc_random_jitter.

(cherry picked from commit 6b2fd40269a69044ecc13e063fca3eae04be36d1)
lib/dns/update.c
lib/dns/zone.c