DANE checker

Short answer

What is DANE for email?

DANE for email is a standard (RFC 7672) where the domain publishes the fingerprint of the mail server certificate in a TLSA record, signed with DNSSEC. The record is on _25._tcp in front of the MX name, for example _25._tcp.mx.company.com with the value 3 1 1 and a SHA-256 hash. Senders that support DANE then only deliver encrypted.

Enter the domain and we look up _25._tcp for each MX.

What DANE is

With DANE you publish the fingerprint of the mail server certificate in DNS (TLSA). Senders that support DANE then require encryption with exactly that certificate. It requires DNSSEC.

How to read the TLSA record

  • The first number is the usage. 3 (DANE-EE) points to the server’s own certificate, 2 (DANE-TA) to the issuer. For email 3 or 2 is recommended.
  • The second number is what is hashed. 1 means only the public key, which survives renewal with the same key.
  • The third number is the hash type. 1 is SHA-256, which is the most common.

Common mistakes

The most dangerous mistake is to change the certificate or key without updating the TLSA record first. Then senders that support DANE reject all email to you. Add the new TLSA record next to the old one, wait until the TTL has expired, and then change the certificate.

TLSA records without DNSSEC are ignored. So check DNSSEC for both the domain and the zone of the MX server.

Questions and answers

DANE or MTA-STS?

Both protect encrypted delivery. DANE requires DNSSEC, MTA-STS requires a web server. Many use both.

Who uses DANE when sending?

Among others Microsoft Exchange Online and many servers running Postfix check DANE when sending. Gmail uses MTA-STS instead.

Can I use DANE with Microsoft 365?

Yes. Microsoft supports inbound DANE with DNSSEC in Exchange Online, but it must be enabled for the domain and requires the domain to be signed.