2022-06-29 11:28:26 +02:00
|
|
|
{% extends "dashboard/domain_detail/base.html" %}
|
2019-12-30 17:52:08 +01:00
|
|
|
|
|
|
|
{% set domain_detail_page = "dns" %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block title %}{{ custom_domain.domain }} DNS{% endblock %}
|
2019-12-30 17:52:08 +01:00
|
|
|
{% block domain_detail_content %}
|
2019-12-27 23:50:09 +01:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="p-4 mr-auto" style="max-width: 60rem;">
|
|
|
|
<h1 class="h2">{{ custom_domain.domain }}</h1>
|
|
|
|
<div>Please follow the steps below to set up your domain.</div>
|
|
|
|
<div class="small-text mb-5">DNS changes could take up to 24 hours to update.</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if not custom_domain.ownership_verified %}
|
2019-12-28 21:59:47 +01:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<div id="ownership-form">
|
|
|
|
<div class="font-weight-bold">
|
|
|
|
Domain ownership verification
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if custom_domain.ownership_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="Domain Ownership Verified">✅</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="Domain Ownership Required">🚫</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% if not custom_domain.ownership_verified %}
|
2019-12-27 23:50:09 +01:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="mb-2">
|
|
|
|
To verify ownership of the domain, please add the following TXT record.
|
|
|
|
Some domain registrars (Namecheap, CloudFlare, etc) might use <em>@</em> for the root domain.
|
|
|
|
</div>
|
2020-05-11 23:23:08 +02:00
|
|
|
<div class="mb-3 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
Record: TXT
|
|
|
|
<br />
|
|
|
|
Domain: {{ custom_domain.domain }} or <b>@</b>
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Value: <em data-toggle="tooltip"
|
2022-06-29 11:28:26 +02:00
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ custom_domain.get_ownership_dns_txt_value() }}">{{ custom_domain.get_ownership_dns_txt_value() }}</em>
|
2019-12-27 23:50:09 +01:00
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
<form method="post" action="#ownership-form">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-08-17 19:05:12 +02:00
|
|
|
<input type="hidden" name="form-name" value="check-ownership">
|
2022-06-29 11:28:26 +02:00
|
|
|
<button type="submit" class="btn btn-primary">Verify</button>
|
2021-08-17 19:05:12 +02:00
|
|
|
</form>
|
|
|
|
{% if not ownership_ok %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="text-danger mt-4">
|
|
|
|
Your DNS is not correctly set. The TXT record we obtain is:
|
|
|
|
<div class="mb-3 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
{% if not ownership_errors %}(Empty){% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
{% for r in ownership_errors %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
{{ r }}
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2020-08-31 17:11:18 +02:00
|
|
|
</div>
|
2019-12-27 23:50:09 +01:00
|
|
|
{% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<hr />
|
|
|
|
{% endif %}
|
|
|
|
<div class="{% if not custom_domain.ownership_verified %} disabled-content{% endif %}"
|
|
|
|
id="dns-setup">
|
|
|
|
{% if not custom_domain.ownership_verified %}
|
2019-12-27 23:50:09 +01:00
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="alert alert-warning">A domain ownership must be verified first.</div>
|
|
|
|
{% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
<div id="mx-form">
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="font-weight-bold">
|
|
|
|
1. MX record
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if custom_domain.verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="MX Record Verified">✅</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="MX Record Not Verified">🚫</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="mb-2">
|
|
|
|
Add the following MX DNS record to your domain.
|
|
|
|
<br />
|
2021-11-22 17:22:49 +01:00
|
|
|
Please note that there's a dot (<em>.</em>) at the end target addresses.
|
|
|
|
If your domain registrar doesn't allow this trailing dot, please remove it when adding the DNS record.
|
2022-06-29 11:28:26 +02:00
|
|
|
<br />
|
2021-11-22 17:22:49 +01:00
|
|
|
Some domain registrars (Namecheap, CloudFlare, etc) might also use <em>@</em> for the root domain.
|
2021-08-17 19:05:12 +02:00
|
|
|
</div>
|
|
|
|
{% for priority, email_server in EMAIL_SERVERS_WITH_PRIORITY %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2020-05-11 23:23:08 +02:00
|
|
|
<div class="mb-3 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
Record: MX
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Domain: {{ custom_domain.domain }} or
|
2022-06-29 11:28:26 +02:00
|
|
|
<b>@</b>
|
|
|
|
<br />
|
|
|
|
Priority: {{ priority }}
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Target: <em data-toggle="tooltip"
|
2022-06-29 11:28:26 +02:00
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ email_server }}">{{ email_server }}</em>
|
2019-12-27 23:50:09 +01:00
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endfor %}
|
|
|
|
<form method="post" action="#mx-form">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-08-17 19:05:12 +02:00
|
|
|
<input type="hidden" name="form-name" value="check-mx">
|
|
|
|
{% if custom_domain.verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<button type="submit" class="btn btn-outline-primary">Re-verify</button>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<button type="submit" class="btn btn-primary">Verify</button>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
{% if not mx_ok %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="text-danger mt-4">
|
|
|
|
Your DNS is not correctly set. The MX record we obtain is:
|
|
|
|
<div class="mb-3 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
{% if not mx_errors %}(Empty){% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
{% for r in mx_errors %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
{{ r }}
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% if custom_domain.verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="alert alert-danger">
|
|
|
|
Without the MX record set up correctly, you can miss emails sent to your aliases.
|
|
|
|
Please update the MX record ASAP.
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2019-12-28 21:59:47 +01:00
|
|
|
{% endif %}
|
2019-12-27 23:50:09 +01:00
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<hr />
|
2021-08-17 19:05:12 +02:00
|
|
|
<div id="spf-form">
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="font-weight-bold">
|
|
|
|
2. SPF (Optional)
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if custom_domain.spf_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="SPF Verified">✅</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="SPF Not Verified">🚫</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-06-29 11:28:26 +02:00
|
|
|
SPF
|
|
|
|
<a href="https://en.wikipedia.org/wiki/Sender_Policy_Framework"
|
|
|
|
target="_blank"
|
2023-02-27 13:15:25 +01:00
|
|
|
rel="noopener noreferrer">(Wikipedia↗)</a>
|
2022-06-29 11:28:26 +02:00
|
|
|
is an email
|
2021-08-17 19:05:12 +02:00
|
|
|
authentication method
|
2022-06-29 11:28:26 +02:00
|
|
|
designed to detect forging sender addresses during the delivery of the email.
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Setting up SPF is highly recommended to reduce the chance your emails ending up in the recipient's Spam
|
|
|
|
folder.
|
|
|
|
</div>
|
|
|
|
<div class="mb-2">Add the following TXT DNS record to your domain.</div>
|
|
|
|
<div class="mb-2 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
Record: TXT
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Domain: {{ custom_domain.domain }} or
|
2022-06-29 11:28:26 +02:00
|
|
|
<b>@</b>
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Value:
|
|
|
|
<em data-toggle="tooltip"
|
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ spf_record }}">
|
|
|
|
{{ spf_record }}
|
|
|
|
</em>
|
|
|
|
</div>
|
|
|
|
<form method="post" action="#spf-form">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-08-17 19:05:12 +02:00
|
|
|
<input type="hidden" name="form-name" value="check-spf">
|
|
|
|
{% if custom_domain.spf_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<button type="submit" class="btn btn-outline-primary">Re-verify</button>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<button type="submit" class="btn btn-primary">Verify</button>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
{% if not spf_ok %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="text-danger mt-4">
|
|
|
|
Your DNS is not correctly set. The TXT record we obtain is:
|
2020-05-11 23:23:08 +02:00
|
|
|
<div class="mb-3 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
{% if not spf_errors %}(Empty){% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
{% for r in spf_errors %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
{{ r }}
|
|
|
|
<br />
|
2019-12-27 23:50:09 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if custom_domain.spf_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
Without SPF setup, emails you sent from your alias might end up in Spam/Junk folder.
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<hr />
|
2021-08-17 19:05:12 +02:00
|
|
|
<div id="dkim-form">
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="font-weight-bold">
|
|
|
|
3. DKIM (Optional)
|
2019-12-27 23:50:09 +01:00
|
|
|
{% if custom_domain.dkim_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="SPF Verified">✅</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="DKIM Not Verified">🚫</span>
|
2019-12-27 23:50:09 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
<div>
|
2022-06-29 11:28:26 +02:00
|
|
|
DKIM
|
|
|
|
<a href="https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail"
|
|
|
|
target="_blank"
|
2023-02-27 13:15:25 +01:00
|
|
|
rel="noopener noreferrer">(Wikipedia↗)</a>
|
2021-08-17 19:05:12 +02:00
|
|
|
is an
|
|
|
|
email
|
|
|
|
authentication method
|
2022-06-29 11:28:26 +02:00
|
|
|
designed to avoid email spoofing.
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Setting up DKIM is highly recommended to reduce the chance your emails ending up in the recipient's Spam
|
|
|
|
folder.
|
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="mb-2">
|
2022-10-11 07:17:37 +02:00
|
|
|
Add the following CNAME DNS records to your domain.
|
2022-06-29 11:28:26 +02:00
|
|
|
</div>
|
2022-10-11 07:17:37 +02:00
|
|
|
{% for dkim_prefix, dkim_cname_value in dkim_records %}
|
|
|
|
|
|
|
|
<div class="mb-2 p-3 dns-record">
|
|
|
|
Record: CNAME
|
|
|
|
<br />
|
|
|
|
Domain: <em data-toggle="tooltip"
|
2022-06-29 11:28:26 +02:00
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
2022-10-13 17:29:01 +02:00
|
|
|
data-clipboard-text="{{ dkim_prefix }}">{{ dkim_prefix }}</em>
|
2022-10-11 07:17:37 +02:00
|
|
|
<br />
|
|
|
|
Value:
|
|
|
|
<em data-toggle="tooltip"
|
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ dkim_cname_value }}."
|
|
|
|
style="overflow-wrap: break-word">
|
|
|
|
{{ dkim_cname_value }}.
|
|
|
|
</em>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="alert alert-info">
|
|
|
|
Some DNS registrar might require a full record path, in this case please use
|
2022-06-29 11:28:26 +02:00
|
|
|
<i>dkim._domainkey.{{ custom_domain.domain }}</i> as domain value instead.
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
If you are using a subdomain, e.g. <i>subdomain.domain.com</i>,
|
2023-03-24 10:33:00 +01:00
|
|
|
you need to use <i>dkim._domainkey.subdomain</i> as the domain instead.
|
|
|
|
<br />
|
2023-09-26 12:21:23 +02:00
|
|
|
That means, if your domain is <i>mail.domain.com</i> you should enter <i>dkim._domainkey.mail</i> as the Domain.
|
2022-06-29 11:28:26 +02:00
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
</div>
|
|
|
|
<div class="alert alert-info">
|
2022-06-29 11:28:26 +02:00
|
|
|
If you are using CloudFlare, please make sure to <b>not</b> select the Proxy option.
|
|
|
|
<br />
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
<img src="/static/images/cloudflare-proxy.png" class="w-100">
|
|
|
|
</div>
|
|
|
|
<form method="post" action="#dkim-form">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-08-17 19:05:12 +02:00
|
|
|
<input type="hidden" name="form-name" value="check-dkim">
|
|
|
|
{% if custom_domain.dkim_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<button type="submit" class="btn btn-outline-primary">
|
|
|
|
Re-verify
|
|
|
|
</button>
|
|
|
|
{% else %}
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
Verify
|
|
|
|
</button>
|
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
{% if not dkim_ok %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="text-danger mt-4">
|
2022-10-11 07:17:37 +02:00
|
|
|
<p>
|
|
|
|
Your DNS is not correctly set.
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
{% for custom_record, retrieved_cname in dkim_errors.items() %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2022-10-11 07:17:37 +02:00
|
|
|
<li>
|
|
|
|
The CNAME record we obtain for <em>{{ custom_record }}</em> is {{ retrieved_cname }}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% if custom_domain.dkim_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
Without DKIM setup, emails you sent from your alias might end up in Spam/Junk folder.
|
|
|
|
{% endif %}
|
2020-05-03 12:01:31 +02:00
|
|
|
</div>
|
2022-10-11 07:17:37 +02:00
|
|
|
{% if custom_domain.dkim_verified %}
|
|
|
|
|
|
|
|
<div class="text-danger mt-4">
|
|
|
|
DKIM is still enabled. Please update your DKIM settings with all CNAME records
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<hr />
|
2021-08-17 19:05:12 +02:00
|
|
|
<div id="dmarc-form">
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="font-weight-bold">
|
|
|
|
4. DMARC (Optional)
|
2020-05-03 12:01:31 +02:00
|
|
|
{% if custom_domain.dmarc_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="DMARC Verified">✅</span>
|
2021-08-17 19:05:12 +02:00
|
|
|
{% else %}
|
2022-06-29 11:28:26 +02:00
|
|
|
<span class="cursor"
|
|
|
|
data-toggle="tooltip"
|
|
|
|
data-original-title="DMARC Not Verified">🚫 </span>
|
2020-05-03 12:01:31 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
<div>
|
2022-06-29 11:28:26 +02:00
|
|
|
DMARC
|
|
|
|
<a href="https://en.wikipedia.org/wiki/DMARC"
|
|
|
|
target="_blank"
|
2023-02-27 13:15:25 +01:00
|
|
|
rel="noopener noreferrer">
|
2022-06-29 11:28:26 +02:00
|
|
|
(Wikipedia↗)
|
|
|
|
</a>
|
|
|
|
is designed to protect the domain from unauthorized use, commonly known as email spoofing.
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Built around SPF and DKIM, a DMARC policy tells the receiving mail server what to do if
|
|
|
|
neither of those authentication methods passes.
|
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<div class="mb-2">
|
|
|
|
Add the following TXT DNS record to your domain.
|
|
|
|
</div>
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="mb-2 p-3 dns-record">
|
2022-06-29 11:28:26 +02:00
|
|
|
Record: TXT
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Domain: <em data-toggle="tooltip"
|
2022-06-29 11:28:26 +02:00
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="_dmarc">_dmarc</em>
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
Value:
|
|
|
|
<em data-toggle="tooltip"
|
|
|
|
title="Click to copy"
|
|
|
|
class="clipboard"
|
|
|
|
data-clipboard-text="{{ dmarc_record }}">
|
|
|
|
{{ dmarc_record }}
|
|
|
|
</em>
|
|
|
|
</div>
|
|
|
|
<div class="alert alert-info">
|
|
|
|
Some DNS registrar might require a full record path, in this case please use
|
2022-06-29 11:28:26 +02:00
|
|
|
<i>_dmarc.{{ custom_domain.domain }}</i> as domain value instead.
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
If you are using a subdomain, e.g. <i>subdomain.domain.com</i>,
|
|
|
|
you need to use <i>_dmarc.subdomain</i> as domain value instead.
|
2022-06-29 11:28:26 +02:00
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
</div>
|
|
|
|
<form method="post" action="#dmarc-form">
|
2022-10-27 10:04:47 +02:00
|
|
|
{{ csrf_form.csrf_token }}
|
2021-08-17 19:05:12 +02:00
|
|
|
<input type="hidden" name="form-name" value="check-dmarc">
|
|
|
|
{% if custom_domain.dmarc_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<button type="submit" class="btn btn-outline-primary">
|
|
|
|
Re-verify
|
|
|
|
</button>
|
|
|
|
{% else %}
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
Verify
|
|
|
|
</button>
|
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
{% if not dmarc_ok %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
<div class="text-danger mt-4">
|
|
|
|
Your DNS is not correctly set.
|
|
|
|
The TXT record we obtain is:
|
|
|
|
<div class="mb-3 p-3" style="background-color: #eee">
|
2022-06-29 11:28:26 +02:00
|
|
|
{% if not dmarc_errors %}(Empty){% endif %}
|
2021-08-17 19:05:12 +02:00
|
|
|
{% for r in dmarc_errors %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
{{ r }}
|
|
|
|
<br />
|
2021-08-17 19:05:12 +02:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% if custom_domain.dmarc_verified %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-08-17 19:05:12 +02:00
|
|
|
Without DMARC setup, emails sent from your alias might end up in the Spam/Junk folder.
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-05-03 12:01:31 +02:00
|
|
|
</div>
|
2019-12-27 23:50:09 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|