CertaDNS
Skip to lesson

The Transport Problem · lesson 2 of 2

Two answers to the same problem

After this lesson you can

Say what MTA-STS and DANE each assert, and which part of the trust they place elsewhere.

Assumes you have read What opportunistic TLS leaves open.

Both mechanisms tell a sender “require TLS to this domain, and expect this identity”. They differ entirely in where that statement is anchored, and every practical difference between them follows from that one choice.

The split

MTA-STSDANE
Policy lives inAn HTTPS-served fileDNS, as TLSA records
Authenticated byThe web PKI — the HTTPS certificate on the policy hostDNSSEC — the chain from the root
PrerequisiteA web server and a valid certificateA signed zone, and signed parent delegation
Failure modeFails open if the policy cannot be fetched at first contactFails closed — a validating sender will not deliver
Policy cachingExplicit, via max_ageOrdinary DNS TTL
Who implements it as a senderGoogle, Microsoft, and a growing setLargely European providers and the technically inclined

Why there are two

DANE came first and is the cleaner design: the domain that owns the name asserts the certificate for it, with no third party involved. Its cost is DNSSEC, which large providers were unwilling or unable to adopt.

$ dig +short DS gmail.com; dig +short DS ietf.org
(no answer)
2371 13 2 B1AE88AFF068DDEC3F7FF662F47D65...
Checked 2026-09-15. gmail.com is not DNSSEC-signed; ietf.org is.

That single fact explains the existence of MTA-STS. Google could not deploy DANE for gmail.com without first signing the zone, so a mechanism was designed that borrows the web PKI instead — a trust infrastructure every large operator already runs.

Fails open against fails closed

MTA-STS is trust-on-first-use. A sender with no cached policy that cannot reach the policy host delivers anyway, because refusing would let anyone block your mail by blocking an HTTPS request. DANE has no such compromise: a validating sender that cannot verify the TLSA record does not deliver.

Stronger and weaker, in both directions

DANE’s stricter failure behaviour is a security advantage and an availability liability — a DNSSEC mistake stops your inbound mail rather than degrading it. MTA-STS’s tolerance is the reverse. Neither is simply better, and a domain that can do both usually should.

Try it on a real domain

Free, no account, public DNS only.

Last reviewed