Skip to content

Commit ac3344f

Browse files
committed
Removed unnecessary NS record
Removed unnecessary NS record hostmaster.topLevelDomain while creating website for that domain.
1 parent fb7efa5 commit ac3344f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

plogical/dnsUtilities.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ def dnsTemplate(domain, admin):
7272

7373
if zone.type == 'NATIVE':
7474

75-
record = Records(domainOwner=zone,
76-
domain_id=zone.id,
77-
name=topLevelDomain,
78-
type="NS",
79-
content='hostmaster.%s' % (topLevelDomain),
80-
ttl=3600,
81-
prio=0,
82-
disabled=0,
83-
auth=1)
84-
record.save()
85-
8675
if os.path.exists(DNS.defaultNameServersPath):
8776
defaultNS = open(DNS.defaultNameServersPath, 'r').readlines()
8877

0 commit comments

Comments
 (0)