Regular STARTTLS is opportunistic: if encryption works, fine; if not, the message goes out in plain text, and silently. require-starttls forbids that, but the decision is ours, not the receiver’s.
DANE reverses the roles. The receiver publishes records in its zone saying: we have STARTTLS, and here is our certificate’s fingerprint. The node reads these records and acts on them — downgrading to plain text is forbidden by the standard itself, not by our setting.
Not only encryption is verified, but the certificate too — against the fingerprint from DNS, not a chain of certificate authorities. This is the main difference from MTA-STS.
A mandatory condition is a resolver with DNSSEC support. The manual calls this strictly mandatory and gives an example: 8.8.8.8. Without DNSSEC, DANE records deserve no trust, because they can be spoofed.
The message does not bounce but waits. If negotiation fails, the message stays in the queue until STARTTLS succeeds under DANE rules.
The mechanism has no values of its own: it is enabled by use-dane. It is worth comparing with two neighboring methods:
| Method | Who decides | What is verified | What it requires |
|---|---|---|---|
| require-starttls | we do | only encryption | nothing |
| DANE | the receiver, through its DNS zone | encryption and the certificate fingerprint | a DNSSEC resolver |
| use-mta-sts | the receiver, through its website | encryption, the chain and the name in the certificate | nothing special |
They do not exclude each other. A sensible order for a fleet: mandatory encryption by our own hand for large receivers, MTA-STS because it requires nothing, DANE once the resolver is verified.
# DANE is meaningless without a DNSSEC resolver — the lines go as a pair name-server 8.8.8.8 <domain hotmail.com> use-starttls yes use-dane true </domain>
what people get wrong and how it ends2 mistakes▶
§ 10.5
§ 10.5
3 relations
use-dane<domain>The line that enables the mechanism for a specific receiver. § 10.5
dig +dnssec TXT example.com @8.8.8.8 | grep -c "flags:.* ad"
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.◇What makes a virtual machine riskyRunning on a virtual machine is possible, but the manual does not recommend it without sufficient hardware and properly tuned hypervisor settings: under load the node may stop responding.