mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
3195. [cleanup] Silence "file not found" warnings when loading
managed-keys zone. [RT #26340]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3195. [cleanup] Silence "file not found" warnings when loading
|
||||||
|
managed-keys zone. [RT #26340]
|
||||||
|
|
||||||
3194. [doc] Updated RFC references in the 'empty-zones-enable'
|
3194. [doc] Updated RFC references in the 'empty-zones-enable'
|
||||||
documentation. [RT #25203]
|
documentation. [RT #25203]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zone.c,v 1.645 2011/11/03 02:54:47 each Exp $ */
|
/* $Id: zone.c,v 1.646 2011/11/03 03:26:19 each Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -3514,7 +3514,11 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
|
|||||||
"no master file, requesting db");
|
"no master file, requesting db");
|
||||||
maybe_send_securedb(zone);
|
maybe_send_securedb(zone);
|
||||||
} else {
|
} else {
|
||||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
int level = ISC_LOG_ERROR;
|
||||||
|
if (zone->type == dns_zone_key &&
|
||||||
|
result == ISC_R_FILENOTFOUND)
|
||||||
|
level = ISC_LOG_DEBUG(1);
|
||||||
|
dns_zone_log(zone, level,
|
||||||
"loading from master file %s failed: %s",
|
"loading from master file %s failed: %s",
|
||||||
zone->masterfile,
|
zone->masterfile,
|
||||||
dns_result_totext(result));
|
dns_result_totext(result));
|
||||||
|
Reference in New Issue
Block a user