diff --git a/app/dashboard/templates/dashboard/custom_domain.html b/app/dashboard/templates/dashboard/custom_domain.html index 1c7db8b1..10626116 100644 --- a/app/dashboard/templates/dashboard/custom_domain.html +++ b/app/dashboard/templates/dashboard/custom_domain.html @@ -28,50 +28,81 @@ {% if not custom_domain.verified %}
++ Add the following MX DNS record to your domain {% for priority, email_server in EMAIL_SERVERS_WITH_PRIORITY %} - {{ custom_domain.domain }} IN MX {{ priority }} {{ email_server }} ++ Domain: {{ custom_domain.domain }}{% endfor %} - + + Or if you edit your DNS record in text format, use the following code:
+ Priority: 10
+ Target: {{ email_server }}
+
+ +{% for priority, email_server in EMAIL_SERVERS_WITH_PRIORITY %}{{ custom_domain.domain }} IN MX {{ priority }} {{ email_server }}+
{% endfor %}
{{ custom_domain.domain }} IN TXT "v=spf1 {% for priority, email_server in EMAIL_SERVERS_WITH_PRIORITY %}include:{{ email_server[:-1] }} {% endfor %}-all"+