mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-21 23:12:06 +01:00
bug fix: mx server shift to default domain
This commit is contained in:
@@ -317,7 +317,7 @@ team_drive =
|
||||
|
||||
if status:
|
||||
|
||||
status, result = json.loads(result.rstrip('\n'))
|
||||
result = json.loads(result.rstrip('\n'))
|
||||
|
||||
try:
|
||||
SnapShotID = result['id'] ## snapshot id that we need to store in db
|
||||
|
||||
@@ -254,7 +254,7 @@ class DNS:
|
||||
|
||||
## MX Record.
|
||||
|
||||
mxValue = "mail." + topLevelDomain
|
||||
mxValue = topLevelDomain
|
||||
|
||||
# record = Records(domainOwner=zone,
|
||||
# domain_id=zone.id,
|
||||
@@ -399,7 +399,7 @@ class DNS:
|
||||
|
||||
## MX Record.
|
||||
|
||||
mxValue = "mail." + topLevelDomain
|
||||
mxValue = topLevelDomain
|
||||
|
||||
# record = Records(domainOwner=zone,
|
||||
# domain_id=zone.id,
|
||||
@@ -491,7 +491,7 @@ class DNS:
|
||||
|
||||
## MX Records
|
||||
|
||||
mxValue = "mail." + actualSubDomain
|
||||
mxValue = actualSubDomain
|
||||
|
||||
# record = Records(domainOwner=zone,
|
||||
# domain_id=zone.id,
|
||||
|
||||
Reference in New Issue
Block a user