]> 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 07:26:56 +0000 (09:26 +0200)
commit741ce2d07a7637391c729e108080529accfc834f
tree57ac8eab65b949bdd007ad3fe2593e66623230bd
parentc90b62264842950145e49a092ceaf818be86f42a
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.
lib/dns/zone.c