Merge pull request #192 from istiak101/stable

Removed unnecessary NS record
This commit is contained in:
Usman Nasir 2019-12-29 14:22:47 +05:00 committed by GitHub
commit f3379ecc43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

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()