diff --git a/manageServices/serviceManager.py b/manageServices/serviceManager.py index 106ab88b6..0476b3b02 100755 --- a/manageServices/serviceManager.py +++ b/manageServices/serviceManager.py @@ -77,7 +77,7 @@ def managePDNS(self): writeToFile.writelines('also-notify=' + ipStringNoSubnet + '\n') writeToFile.writelines('daemon=no\n') writeToFile.writelines('disable-axfr=no\n') - writeToFile.writelines('master=yes\n') + writeToFile.writelines('primary=yes\n') writeToFile.close() command = 'sudo mv ' + tempPath + ' ' + path @@ -117,17 +117,17 @@ def managePDNS(self): writeToFile.writelines(items + '\n') slaveData = """ -slave=yes +secondary=yes daemon=yes disable-axfr=yes guardian=yes local-address=0.0.0.0 local-port=53 -master=no -slave-cycle-interval=60 +prmary=no +xfr-cycle-interval=60 setgid=pdns setuid=pdns -superslave=yes +autosecondary=yes """ writeToFile.writelines(slaveData) @@ -324,4 +324,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()