Provision DKIM and publish managed mail DNS records
This commit is contained in:
1 parent
bb617a99ee
commit
004a8b4d81
20 files changed
+992
-9
No files matched your search
@@ -483,6 +483,7 @@ class HostingDnsZone(models.Model):
|
||||
addresses = models.JSONField(default=list)
|
||||
mx_records = models.JSONField(default=list)
|
||||
txt_records = models.JSONField(default=list)
|
||||
manage_mail_dns = models.BooleanField(default=False)
|
||||
|
||||
class Meta:
|
||||
ordering = ("domain",)
|
||||
@@ -520,6 +521,9 @@ class HostingMailDomain(models.Model):
|
||||
HostingAccount, on_delete=models.PROTECT, related_name="mail_domains"
|
||||
)
|
||||
domain = DomainNameField(max_length=253, unique=True)
|
||||
dkim_record = models.CharField(max_length=1024, blank=True)
|
||||
dns_setup_problem = models.TextField(blank=True)
|
||||
dns_sync_requested = models.BooleanField(default=False)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.domain)
|
||||
|
||||
Reference in new issue
Block a user