bug fix: set correct soa expire value

This commit is contained in:
usmannasir
2024-01-24 20:11:15 +05:00
parent 74db3b936f
commit c9392bef93
4 changed files with 8 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ class DNSManager:
newZone = Domains(admin=admin, name=zoneDomain, type="MASTER")
newZone.save()
content = "ns1." + zoneDomain + " hostmaster." + zoneDomain + " 1 10800 3600 604800 3600"
content = "ns1." + zoneDomain + " hostmaster." + zoneDomain + " 1 10800 3600 1209600 3600"
soaRecord = Records(domainOwner=newZone,
domain_id=newZone.id,