[ Transport security ]

DANE and MTA-STS: compare trust models and deployment needs

Compare DANE and MTA-STS on the same receiving route, including authenticated discovery, first contact and certificate rollover.

By the EmailAuth research team · 3 min read

[ Key points ]

  • DANE trusts authenticated DNS associations; STS uses authenticated HTTPS and PKIX.
  • Separate first contact from an unexpired cached policy.
  • Successful STS must never erase failed DANE validation.
On this page

DANE and MTA-STS both let supporting sending systems enforce authenticated SMTP transport. Their trust dependencies differ, and those differences matter before the first message, during DNS trouble and when certificates change. Choosing between them requires an inventory of what the receiving operator and its providers can maintain, not just a successful TLS handshake.

Follow one receiving route

References: RFC 7672 §2, RFC 8461 §3, RFC 8461 §4.

Use example.com with MX mx1.example.net on TCP port 25. Under SMTP DANE, the sender needs the appropriate DNSSEC-validated routing and TLSA discovery process. For this simple non-aliased host, the TLSA owner is _25._tcp.mx1.example.net. A usable secure TLSA association tells a supporting sender how to authenticate the TLS service. A TXT record at the recipient domain is not a substitute. RFC 7672 sections 2 and 3.

Under MTA-STS, the recipient domain publishes discovery at _mta-sts.example.com and serves its policy over authenticated HTTPS at mta-sts.example.com. The policy authorizes the intended MX names and supplies mode and lifetime. For STS authentication, the SMTP server must satisfy the applicable public-key infrastructure certificate checks, including a matching SAN DNS-ID under RFC 8461 §4.2. Generic TLS hostname probes alone do not establish the full profile. The policy-host certificate and the mail-server certificate protect different services. RFC 8461 sections 3 and 4.

Compare first contact and failure states

References: RFC 7672 §2.1, RFC 8461 §2, RFC 8461 §3.3, RFC 8461 §10.2.

DANE can authenticate its policy discovery through DNSSEC on first contact when the validation chain is secure and usable records exist. This is not the same as trusting any answer returned by a recursive resolver. A bogus validation result is not equivalent to a valid insecure delegation. Record the resolver trust relationship and the validation status of each relevant answer.

MTA-STS has a bootstrap limitation: a sender without a usable cached policy can be prevented from obtaining one. A sender holding an unexpired enforcing policy must continue applying it when a fresh policy cannot be obtained. Therefore compare empty-cache and warm-cache cases separately. Successful HTTPS on one monitoring host does not prove every sender has learned the policy.

Consider four explicitly hypothetical states. With secure usable DANE discovery on first contact, a supporting sender can authenticate the service even if MTA-STS acquisition is suppressed. With an unexpired enforcing MTA-STS policy cached, failed retrieval does not erase that policy. A key change from A to B can fail an old-only TLSA association even if the new certificate satisfies PKIX; overlap can cover both keys. Moving to an MX excluded by an applicable cached STS policy can fail its MX check until a compatible policy is learned. These are standards-based examples, not observed DNSSEC, cache or delivery tests.

The mechanisms are not universally combined as a rule requiring both to pass. RFC 8461 §2 establishes a specific non-interference requirement: Successful MTA-STS validation MUST NOT override failing DANE validation. A generic comparison model that insists both must pass is not a normative sender algorithm.

Plan the same rollover twice

References: RFC 7672 §4, RFC 8461 §8.

DANE-EE usage 3 authenticates through the secure association: RFC 7672 §3.1.1 does not require the PKIX identity or certificate-expiration checks used by STS. Do not apply that exception indiscriminately to every TLSA usage. For DANE-EE with selector SPKI and SHA-256, changing the public key changes the association digest. Publish the old and new associations before deploying the new key, allow old DNS caches and related signature records to age out, and keep coverage for every active endpoint. Reissuing a certificate with the same key differs from rotating the key. RFC 7672 section 4.

For MTA-STS, an ordinary certificate renewal that retains valid MX identity and trust does not itself require changing policy MX patterns. An MX migration does: stage a policy covering both old and new receiving hosts and account for senders retaining prior policies. Neither model permits ignoring a broken route merely because another checker reports green.

Decide by operational ownership

References: RFC 8461 §2.

List the teams controlling recipient DNS, MX-host DNS, DNSSEC signing, SMTP certificate deployment and HTTPS policy hosting. A hosted provider may control a dependency the domain owner cannot change directly. Establish a supported process before promising either control to customers. Where both mechanisms are deployed, successful MTA-STS validation must not override failing DANE validation. No live DNSSEC chain or SMTP delivery was exercised for this guide; the comparison is standards-based and its local examples are explicitly synthetic.

[ Takeaway ]

Successful STS must never erase failed DANE validation.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Separate discovery from matching

A TLSA digest match alone is not a DNSSEC result.

Next steps

  1. Capture validation states.
  2. Check every MX endpoint.
  3. Test old and new associations.

CISO / SecOps

Bound the assurance

Both controls protect transport, with distinct trust assumptions.

Next steps

  1. Document bootstrap risk.
  2. Preserve failing DANE outcomes.
  3. Keep message-content controls separate.

Founder / Non-technical

Choose maintainable controls

Dependency ownership matters as much as feature support.

Next steps

  1. Identify DNS and mail owners.
  2. Check provider support.
  3. Fund rollover testing.

[ FAQs ]

Frequently asked questions

Does DANE need the MTA-STS HTTPS endpoint?

No. SMTP DANE uses DNSSEC-authenticated TLSA discovery.

RFC 7672 §2.2

Where does the example TLSA record live?

At _25._tcp.mx1.example.net for the simple port-25 non-aliased route.

RFC 7672 §2.2

Is first contact identical?

No. DANE can authenticate discovery using DNSSEC; MTA-STS has an initial policy-acquisition limitation.

RFC 8461 §10.2

Does an insecure DNS answer mean bogus?

No. Those DNSSEC states have different meanings and handling.

RFC 7672 §2.1

Does renewing a certificate always change a 3 1 1 digest?

No. A reissue retaining the same public key retains its SPKI digest.

RFC 7672 §4

Can passing MTA-STS override failed DANE?

No. RFC 8461 explicitly prohibits that override.

RFC 8461 §2

Which team should own the choice?

Mail and DNS operators should assess the dependencies with the security owner.

Was this route tested on the Internet?

No. The route and state comparisons are synthetic.

[ Sources ]

Sources

  1. RFC 7672

    Sections §2 · §2.1 · §3.1.1 · §4 · §2.2

  2. RFC 8461

    Sections §10.2 · §2 · §3 · §3.3 · §4 · §4.2 · §8

[ Glossary ]

Glossary

TLSA
A DNS record associating a TLS service with certificate or public-key material.
SPKI
The SubjectPublicKeyInfo structure carrying the public key and algorithm identifier.
Bootstrap
Initial acquisition of trusted state before cached policy can be enforced.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base