mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
2587. [func] Improve logging by reporting serial numbers for
when zone serial has gone backwards or unchanged. [RT #19506]
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
|||||||
|
2587. [func] Improve logging by reporting serial numbers for
|
||||||
|
when zone serial has gone backwards or unchanged.
|
||||||
|
[RT #19506]
|
||||||
|
|
||||||
2586. [bug] Missing cleanup of SIG rdataset in searching a DLZ DB
|
2586. [bug] Missing cleanup of SIG rdataset in searching a DLZ DB
|
||||||
or SDB. [RT #19577]
|
or SDB. [RT #19577]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zone.c,v 1.489 2009/03/26 22:51:54 marka Exp $ */
|
/* $Id: zone.c,v 1.490 2009/04/28 12:48:34 jreed Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -2562,12 +2562,13 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
} else if (!isc_serial_ge(serial, zone->serial))
|
} else if (!isc_serial_ge(serial, zone->serial))
|
||||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||||
"zone serial has gone backwards");
|
"zone serial (%u/%u) has gone "
|
||||||
|
"backwards", serial, zone->serial);
|
||||||
else if (serial == zone->serial && !hasinclude)
|
else if (serial == zone->serial && !hasinclude)
|
||||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||||
"zone serial unchanged. "
|
"zone serial (%u) unchanged. "
|
||||||
"zone may fail to transfer "
|
"zone may fail to transfer "
|
||||||
"to slaves.");
|
"to slaves.", serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zone->type == dns_zone_master &&
|
if (zone->type == dns_zone_master &&
|
||||||
|
Reference in New Issue
Block a user