Skip to content
All Articles
Email Security

DANE vs MTA-STS: Which Should You Use to Secure Email in Transit?

Both DANE and MTA-STS prevent TLS downgrade attacks on email. They approach the problem differently. Here's how to choose between them — or use both.

5 min read

The problem they both solve

STARTTLS is the standard for encrypting email in transit between mail servers. But STARTTLS is opportunistic — it can be stripped by an attacker in a man-in-the-middle position, forcing the connection to fall back to plaintext.

Both DANE and MTA-STS solve this by publishing an out-of-band policy that tells sending servers: 'You must use TLS to deliver email to us. If you can't establish a secure connection, don't deliver.'

DANE (DNS-Based Authentication of Named Entities)

  • Requires DNSSEC on your domain
  • Uses TLSA records to pin certificates in DNS
  • No HTTPS infrastructure needed
  • High adoption in Netherlands, Germany, Nordic countries
  • Verified by sending server at delivery time
  • Certificate changes require DNS TLSA update

MTA-STS (Mail Transfer Agent Strict Transport Security)

  • No DNSSEC required — uses existing CA/HTTPS infrastructure
  • Policy file served over HTTPS at mta-sts.yourdomain.com
  • Supported by Gmail, Outlook, and growing list of providers
  • Policy is cached by sending servers (reduces DNS load)
  • Easier to implement for most organizations
  • Certificate changes require only standard TLS renewal

DANE vs MTA-STS requirements and adoption

CriterionDANEMTA-STS
DNSSEC requiredYes — mandatoryNo
HTTPS/web server requiredNoYes — mta-sts.yourdomain.com with valid TLS cert
DNS record typeTLSA record at _443._tcp.mail.yourdomain.comTXT record at _mta-sts.yourdomain.com
Policy locationIn DNS (TLSA records)HTTPS file at well-known URL
Gmail supportNo (Gmail does not validate DANE)Yes — Gmail respects MTA-STS
Implementation difficultyHigh — requires DNSSEC expertiseLow-Medium — web hosting + DNS TXT record
Adoption rate (global)~5-10% of mail servers~15-20% of major senders
Best forDNSSEC-enabled domains, European sendersMost organizations without DNSSEC

How DANE works

DANE (DNS-Based Authentication of Named Entities) uses DNSSEC to publish TLSA records in DNS. These records specify which TLS certificate should be used for your mail server — a form of certificate pinning.

Sending mail servers that support DANE and find a TLSA record will only deliver if the TLS certificate matches the published record. An attacker can't substitute a fraudulent certificate because the expected certificate fingerprint is published in DNSSEC-protected DNS.

Requirement: DNSSEC must be enabled on your domain. Without DNSSEC, DANE provides no security benefit (the TLSA records could be forged).

Adoption: High in northern Europe (especially Netherlands and Germany); lower adoption in North America.

How MTA-STS works

MTA-STS (Mail Transfer Agent Strict Transport Security) publishes a policy file over HTTPS specifying that TLS is required and listing valid MX hostnames. Sending servers fetch this policy over HTTPS and cache it.

Since the policy is fetched via HTTPS (protected by the CA certificate system), it can't be stripped. An attacker would need a fraudulent HTTPS certificate for mta-sts.yourdomain.com — significantly harder.

Requirement: A subdomain (mta-sts.yourdomain.com) serving a policy file over HTTPS. No DNSSEC required.

Adoption: Supported by Gmail and growing — easier to implement than DANE for most organizations.

Which to choose

Use MTA-STS if: - You don't have DNSSEC (most organizations) - You want broad compatibility - You prefer a simpler implementation - Gmail inbound protection is a priority

Use DANE if: - You already have DNSSEC enabled - You serve customers in northern Europe where DANE adoption is high - You want the strongest possible certificate pinning without relying on CAs

Use both if: - You have DNSSEC and want defense in depth - You serve a global customer base - Maximum security is a requirement

Neither requires the other — they're complementary, not competing standards.

Check your domain's email health

Run a free scan against 60 blacklists. Validate SPF, DKIM, DMARC, and MX records in seconds.