|
@@ -544,10 +544,11 @@ class DDNSServer:
|
|
|
'''Notify auth that DDNS Update messages can now be forwarded'''
|
|
|
try:
|
|
|
self._cc.rpc_call("start_ddns_forwarder", AUTH_MODULE_NAME)
|
|
|
+ except (SessionTimeout, SessionError, ProtocolError,
|
|
|
+ RPCRecipientMissing) as ex:
|
|
|
+ logger.error(DDNS_START_FORWARDER_FAIL, ex)
|
|
|
except RPCError as e:
|
|
|
logger.error(DDNS_START_FORWARDER_ERROR, e)
|
|
|
- except (SessionTimeout, SessionError, ProtocolError) as ex:
|
|
|
- logger.error(DDNS_START_FORWARDER_FAIL, ex)
|
|
|
|
|
|
def __notify_stop_forwarder(self):
|
|
|
'''Notify auth that DDNS Update messages should no longer be forwarded.
|
|
@@ -555,10 +556,11 @@ class DDNSServer:
|
|
|
'''
|
|
|
try:
|
|
|
self._cc.rpc_call("stop_ddns_forwarder", AUTH_MODULE_NAME)
|
|
|
+ except (SessionTimeout, SessionError, ProtocolError,
|
|
|
+ RPCRecipientMissing) as ex:
|
|
|
+ logger.error(DDNS_STOP_FORWARDER_FAIL, ex)
|
|
|
except RPCError as e:
|
|
|
logger.error(DDNS_STOP_FORWARDER_ERROR, e)
|
|
|
- except (SessionTimeout, SessionError, ProtocolError) as ex:
|
|
|
- logger.error(DDNS_STOP_FORWARDER_FAIL, ex)
|
|
|
|
|
|
def __notify_auth(self, zname, zclass):
|
|
|
'''Notify auth of the update, if necessary.'''
|