For replication to work domain type must be MASTER

This commit is contained in:
Mode
2021-03-15 08:33:44 +00:00
parent 8c61c98d6b
commit 3cf765aa10

View File

@@ -140,7 +140,7 @@ class DNSManager:
zoneDomain = data['zoneDomain']
newZone = Domains(admin=admin, name=zoneDomain, type="NATIVE")
newZone = Domains(admin=admin, name=zoneDomain, type="MASTER")
newZone.save()
content = "ns1." + zoneDomain + " hostmaster." + zoneDomain + " 1 10800 3600 604800 3600"