]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't resign raw version of the zone
authorMatthijs Mekking <matthijs@isc.org>
Fri, 13 Oct 2023 09:46:05 +0000 (11:46 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 16 Oct 2023 08:34:17 +0000 (10:34 +0200)
commitac1b70ad00c246da8c4eabc63c5d387a6ae3c035
treed0e918c667913b8c07bb5e0e41cfd1d1ef199c03
parente9989c541b4e264d6ab56b9157ce7819598824db
Don't resign raw version of the zone

Update the function 'set_resigntime()' so that raw versions of
inline-signing zones are not scheduled to be resigned.

Also update the check in the same function for zone is dynamic, there
exists a function 'dns_zone_isdynamic()' that does a similar thing
and is more complete.

Also in 'zone_postload()' check whether the zone is not the raw
version of an inline-signing zone, preventing calculating the next
resign time.

(cherry picked from commit 741ce2d07a7637391c729e108080529accfc834f)
lib/dns/zone.c