|
@@ -416,6 +416,13 @@ a separate method for the convenience of unit tests.
|
|
|
ret = self.xfrin_start(zone_name, rrclass, db_file, master_addr,
|
|
|
False if command == 'retransfer' else True)
|
|
|
answer = create_answer(ret[0], ret[1])
|
|
|
+ elif cmd == 'notify':
|
|
|
+ # This is the temp implementation for notify
|
|
|
+ # actually the notfiy command should be sent to
|
|
|
+ # Zone Manager module.
|
|
|
+ db_file = '@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3'
|
|
|
+ ret = self.xfrin_start(args['zone_name'], db_file, args['master_ip'], port = 53)
|
|
|
+ answer = create_answer(ret[0], ret[1])
|
|
|
else:
|
|
|
answer = create_answer(1, 'unknown command: ' + command)
|
|
|
|