* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.375 2002/08/06 02:16:09 marka Exp $ */
+/* $Id: zone.c,v 1.376 2002/09/08 18:37:47 explorer Exp $ */
#include <config.h>
/* Accept notify. */
} else if (i >= zone->masterscnt) {
UNLOCK_ZONE(zone);
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_INFO,
"refused notify from non-master: %s", fromtext);
return (DNS_R_REFUSED);
}
RUNTIME_CHECK(result == ISC_R_SUCCESS);
serial = soa.serial;
if (isc_serial_le(serial, zone->serial)) {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_INFO,
"notify from %s: "
"zone is up to date",
fromtext);
DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_NEEDREFRESH);
zone->notifyfrom = *from;
UNLOCK_ZONE(zone);
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_INFO,
"notify from %s: refresh in progress, "
"refresh check queued",
fromtext);
"notify response from %s: %.*s",
addrbuf, (int)buf.used, rcode);
else
- notify_log(notify->zone, ISC_LOG_DEBUG(1),
+ notify_log(notify->zone, ISC_LOG_DEBUG(2),
"notify to %s failed: %s", addrbuf,
dns_result_totext(result));
* Decide whether we should request IXFR or AXFR.
*/
if (zone->db == NULL) {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"no database exists yet, "
"requesting AXFR of "
"initial version from %s", mastertext);
xfrtype = dns_rdatatype_axfr;
} else if (dns_zone_isforced(zone)) {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"forced reload, requesting AXFR of "
"initial version from %s", mastertext);
xfrtype = dns_rdatatype_axfr;
} else if (DNS_ZONE_FLAG(zone, DNS_ZONEFLAG_NOIXFR)) {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"retrying with AXFR from %s due to "
"previous IXFR failure", mastertext);
xfrtype = dns_rdatatype_axfr;
use_ixfr = zone->view->requestixfr;
}
if (use_ixfr == ISC_FALSE) {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"IXFR disabled, "
"requesting AXFR from %s",
mastertext);
xfrtype = dns_rdatatype_axfr;
} else {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"requesting IXFR from %s",
mastertext);
xfrtype = dns_rdatatype_ixfr;
*/
continue;
} else {
- dns_zone_log(zone, ISC_LOG_DEBUG(3),
+ dns_zone_log(zone, ISC_LOG_DEBUG(1),
"starting zone transfer: %s",
isc_result_totext(result));
break;
*/
isc_refcount_increment(&zone->erefs, NULL);
isc_task_send(zone->task, &e);
+ dns_zone_log(zone, ISC_LOG_INFO, "Transfer started.");
UNLOCK_ZONE(zone);
return (ISC_R_SUCCESS);