mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 03:19:59 -04:00
Merge branch 'matthijs-fix-dnssec-signing-log-lovel' into 'main'
Change log level when doing rekey See merge request isc-projects/bind9!6913
This commit is contained in:
commit
c05034b906
1 changed files with 6 additions and 4 deletions
|
|
@ -21567,13 +21567,15 @@ zone_rekey(dns_zone_t *zone) {
|
|||
result = dns_zone_getdnsseckeys(zone, db, ver, now,
|
||||
&zone->checkds_ok);
|
||||
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dnssec_log(zone, ISC_LOG_ERROR,
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
zone_checkds(zone);
|
||||
} else {
|
||||
dnssec_log(zone,
|
||||
(result == ISC_R_NOTFOUND) ? ISC_LOG_DEBUG(1)
|
||||
: ISC_LOG_ERROR,
|
||||
"zone_rekey:dns_zone_getdnsseckeys failed: "
|
||||
"%s",
|
||||
isc_result_totext(result));
|
||||
} else {
|
||||
zone_checkds(zone);
|
||||
}
|
||||
|
||||
if (result == ISC_R_SUCCESS || result == ISC_R_NOTFOUND) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue