From: JINMEI Tatuya Date: Wed, 20 Mar 2013 05:44:32 +0000 (-0700) Subject: [1938] updated log msg/description when notify doesn't match secondaries. X-Git-Tag: bind10-1.1.0beta1-release~36^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b8dd6b36af411f1aac1f48b099e36282c51da98;p=thirdparty%2Fkea.git [1938] updated log msg/description when notify doesn't match secondaries. it's now a debug message, and the description is revised to explain the situation more correctly. --- diff --git a/src/bin/zonemgr/zonemgr.py.in b/src/bin/zonemgr/zonemgr.py.in index 79651f9bc2..fea8d4eb7c 100755 --- a/src/bin/zonemgr/zonemgr.py.in +++ b/src/bin/zonemgr/zonemgr.py.in @@ -210,8 +210,8 @@ class ZonemgrRefresh: """ if self._zone_not_exist(zone_name_class): - logger.error(ZONEMGR_UNKNOWN_ZONE_NOTIFIED, zone_name_class[0], - zone_name_class[1], master) + logger.debug(DBG_ZONEMGR_BASIC, ZONEMGR_ZONE_NOTIFY_NOT_SECONDARY, + zone_name_class[0], zone_name_class[1], master) return False self._set_zone_notifier_master(zone_name_class, master) self._set_zone_notify_timer(zone_name_class) diff --git a/src/bin/zonemgr/zonemgr_messages.mes b/src/bin/zonemgr/zonemgr_messages.mes index f67b5b94a2..03348583c5 100644 --- a/src/bin/zonemgr/zonemgr_messages.mes +++ b/src/bin/zonemgr/zonemgr_messages.mes @@ -138,14 +138,19 @@ zone, or, if this error appears without the administrator giving transfer commands, it can indicate an error in the program, as it should not have initiated transfers of unknown zones on its own. -% ZONEMGR_UNKNOWN_ZONE_NOTIFIED notified zone %1/%2 from %3 is not known to the zone manager -A NOTIFY was received but the zone that was the subject of the operation -is not being managed by the zone manager. This may indicate an error -in the program (as the operation should not have been initiated if this -were the case). Please submit a bug report. - % ZONEMGR_UNKNOWN_ZONE_SUCCESS zone %1 (class %2) is not known to the zone manager An XFRIN operation has succeeded but the zone received is not being managed by the zone manager. This may indicate an error in the program (as the operation should not have been initiated if this were the case). Please submit a bug report. + +% ZONEMGR_ZONE_NOTIFY_NOT_SECONDARY notify for zone %1/%2 from %3 received but not in secondaries +A NOTIFY was received but the zone is not listed in the configured +secondary zones of the zone manager. The most common reason for this +is that it's simply received by a primary server of the zone. Another +possibility is a configuration error that it's not configured as a +secondary while it should be. In either case, the zone manager does +not take action in terms of zone management, and the authoritative +server will respond to it like in the secondary case. If this is a +configuration error, it will be noticed by the fact that the zone +isn't updated even after a change is made in the primary server.