Merge branch 'stable' into p3

This commit is contained in:
Usman Nasir
2019-12-29 14:24:28 +05:00

View File

@@ -72,17 +72,6 @@ class DNS:
if zone.type == 'NATIVE':
record = Records(domainOwner=zone,
domain_id=zone.id,
name=topLevelDomain,
type="NS",
content='hostmaster.%s' % (topLevelDomain),
ttl=3600,
prio=0,
disabled=0,
auth=1)
record.save()
if os.path.exists(DNS.defaultNameServersPath):
defaultNS = open(DNS.defaultNameServersPath, 'r').readlines()