mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 09:51:03 -05:00
3959. [bug] Updates could be lost if they arrived immediately
after a rndc thaw. [RT #37233]
This commit is contained in:
parent
2fb35a6d59
commit
fa827173df
2 changed files with 6 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
3959. [bug] Updates could be lost if they arrived immediately
|
||||
after a rndc thaw. [RT #37233]
|
||||
|
||||
3958. [bug] Detect when writeable files have multiple references
|
||||
in named.conf. [RT #37172]
|
||||
|
||||
|
|
|
|||
|
|
@ -395,16 +395,16 @@ freezezones(dns_zone_t *zone, void *uap) {
|
|||
result = DNS_R_FROZEN;
|
||||
if (result == ISC_R_SUCCESS)
|
||||
result = dns_zone_flush(zone);
|
||||
if (result == ISC_R_SUCCESS)
|
||||
dns_zone_setupdatedisabled(zone, freeze);
|
||||
} else {
|
||||
if (frozen) {
|
||||
result = dns_zone_load(zone);
|
||||
result = dns_zone_loadandthaw(zone);
|
||||
if (result == DNS_R_CONTINUE ||
|
||||
result == DNS_R_UPTODATE)
|
||||
result = ISC_R_SUCCESS;
|
||||
}
|
||||
}
|
||||
if (result == ISC_R_SUCCESS)
|
||||
dns_zone_setupdatedisabled(zone, freeze);
|
||||
view = dns_zone_getview(zone);
|
||||
if (strcmp(view->name, "_bind") == 0 ||
|
||||
strcmp(view->name, "_default") == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue