Merge branch 'v2.0.2' into stable

This commit is contained in:
Usman Nasir 2020-07-28 12:38:14 +05:00
commit 2c5439007f
1 changed files with 2 additions and 1 deletions

View File

@ -441,7 +441,8 @@ class DNS:
## Mail Record
DNS.createDNSRecord(zone, 'mail.' + actualSubDomain, "A", ipAddress, 0, 3600)
if ('mail.%s' % (actualSubDomain)).find('mail.mail') == -1:
DNS.createDNSRecord(zone, 'mail.' + actualSubDomain, "A", ipAddress, 0, 3600)
# CNAME Records.