|
@@ -32,6 +32,8 @@ import isc.util.cio.socketsession
|
|
import isc.server_common.tsig_keyring
|
|
import isc.server_common.tsig_keyring
|
|
from isc.server_common.dns_tcp import DNSTCPContext
|
|
from isc.server_common.dns_tcp import DNSTCPContext
|
|
from isc.datasrc import DataSourceClient
|
|
from isc.datasrc import DataSourceClient
|
|
|
|
+from isc.server_common.auth_command import AUTH_LOADZONE_COMMAND, \
|
|
|
|
+ auth_loadzone_params
|
|
import select
|
|
import select
|
|
import time
|
|
import time
|
|
import errno
|
|
import errno
|
|
@@ -564,8 +566,8 @@ class DDNSServer:
|
|
|
|
|
|
def __notify_auth(self, zname, zclass):
|
|
def __notify_auth(self, zname, zclass):
|
|
'''Notify auth of the update, if necessary.'''
|
|
'''Notify auth of the update, if necessary.'''
|
|
- param = {'origin': zname.to_text(), 'class': zclass.to_text()}
|
|
|
|
- self.__notify_update(AUTH_MODULE_NAME, 'loadzone', param, zname,
|
|
|
|
|
|
+ self.__notify_update(AUTH_MODULE_NAME, AUTH_LOADZONE_COMMAND,
|
|
|
|
+ auth_loadzone_params(zname, zclass), zname,
|
|
zclass)
|
|
zclass)
|
|
|
|
|
|
def __notify_xfrout(self, zname, zclass):
|
|
def __notify_xfrout(self, zname, zclass):
|