From ac3344f56d94bceaa6b75a57215d265c8f0d6214 Mon Sep 17 00:00:00 2001 From: Istiak Ferdous <43047261+COD3HUNT3R@users.noreply.github.com> Date: Sun, 29 Dec 2019 14:51:40 +0600 Subject: [PATCH] Removed unnecessary NS record Removed unnecessary NS record hostmaster.topLevelDomain while creating website for that domain. --- plogical/dnsUtilities.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/plogical/dnsUtilities.py b/plogical/dnsUtilities.py index a3fbb1d8f..cdc910c32 100755 --- a/plogical/dnsUtilities.py +++ b/plogical/dnsUtilities.py @@ -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()