Skip to content
Permalink
Browse files

Removed unnecessary NS record

Removed unnecessary NS record hostmaster.topLevelDomain while creating website for that domain.
  • Loading branch information
COD3HUNT3R committed Dec 29, 2019
1 parent fb7efa5 commit ac3344f56d94bceaa6b75a57215d265c8f0d6214
Showing with 0 additions and 11 deletions.
  1. +0 −11 plogical/dnsUtilities.py
@@ -72,17 +72,6 @@ def dnsTemplate(domain, admin):

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

0 comments on commit ac3344f

Please sign in to comment.
You can’t perform that action at this time.