mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Be more precise with the stopping conditions in zone_resigninc
If there happens to be a RRSIG(SOA) that is not at the zone apex for any reason it should not be considered as a stopping condition for incremental zone signing.
This commit is contained in:
parent
a64dd511f4
commit
b7cdc3583e
1 changed files with 4 additions and 2 deletions
|
|
@ -7089,8 +7089,10 @@ zone_resigninc(dns_zone_t *zone) {
|
|||
* recent signature.
|
||||
*/
|
||||
/* XXXMPA increase number of RRsets signed pre call */
|
||||
if (covers == dns_rdatatype_soa || i++ > zone->signatures ||
|
||||
resign > stop) {
|
||||
if ((covers == dns_rdatatype_soa &&
|
||||
dns_name_equal(name, &zone->origin)) ||
|
||||
i++ > zone->signatures || resign > stop)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue