Checker · MTA-STS MTA-STS checker: is mail to your domain forced onto TLS?
Without MTA-STS, an attacker on the network can strip TLS from SMTP and read mail in transit. MTA-STS publishes a policy that tells senders to require a valid certificate on your MX hosts. This checker reads the DNS record, fetches the policy file and compares it with your real MX records.
- 10 record types
- Compare 3 resolvers
- Sent only when you click
Check MTA-STS and TLS-RPT
Enter the domain that receives mail. The tool queries _mta-sts, _smtp._tls and MX records, then fetches https://mta-sts.<domain>/.well-known/mta-sts.txt. Or paste a policy file to check it locally.
Saved to My tools
Open the free tools page next time and it is right at the top under My tools (stored in this browser only).
You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
View My toolscheck.tapcub.com): it receives only the policy URL, fetches it once without following redirects, and logs only the host name and status code.Subdomains, underscore names such as _dmarc.example.com and international domains all work.
In mainland China, Alibaba Cloud is usually reachable when the other two are not.
One “key: value” per line. Checked in your browser.
Summary
- OK_mta-sts record is valid (id=20190429T010101). Change the id whenever you change the policy file.
- OKPolicy file fetched from https://mta-sts.gmail.com/.well-known/mta-sts.txt.
- OKmode: enforce. Senders refuse to deliver if the MX does not offer valid TLS.
- Notemax_age is 1 days. RFC 8461 expects weeks or more, so a short cache gives less protection between fetches.
- OKAll 5 MX hosts match the policy.
- OKTLS-RPT is set up: sending servers email or post a daily report of TLS failures to the rua address.
- NoteSample result: these records were looked up on 2026-11-28 while building this page. Click Look up for live data.
DNS records
| Name | Record | Status |
|---|---|---|
_mta-sts.gmail.com | v=STSv1; id=20190429T010101; | OK |
_smtp._tls.gmail.com | v=TLSRPTv1;rua=mailto:sts-reports@google.com | OK |
Policy file
| Field | Value | Meaning | Status |
|---|---|---|---|
version | STSv1 | Policy version | OK |
mode | enforce | What senders do when TLS fails | OK |
mx | smtp.google.com | Mail server allowed to receive mail | OK |
mx | gmail-smtp-in.l.google.com | Mail server allowed to receive mail | OK |
mx | *.gmail-smtp-in.l.google.com | Mail server allowed to receive mail | OK |
max_age | 86400 | Cache the policy for this long (1 days) | OK |
MX hosts against the policy
Every MX must match an mx: line, or senders in enforce mode will not deliver to it.
| Mail server (MX) | Matching mx: line | Status |
|---|---|---|
gmail-smtp-in.l.google.com | gmail-smtp-in.l.google.com | Matches |
alt3.gmail-smtp-in.l.google.com | *.gmail-smtp-in.l.google.com | Matches |
alt1.gmail-smtp-in.l.google.com | *.gmail-smtp-in.l.google.com | Matches |
alt2.gmail-smtp-in.l.google.com | *.gmail-smtp-in.l.google.com | Matches |
alt4.gmail-smtp-in.l.google.com | *.gmail-smtp-in.l.google.com | Matches |
version: STSv1
mode: enforce
mx: smtp.google.com
mx: gmail-smtp-in.l.google.com
mx: *.gmail-smtp-in.l.google.com
max_age: 86400
Share these inputs: the values go after the # in the link, so they never reach a server.
https://tapcub.com/tools/dns-lookup/mta-sts
Done here? Try these next
Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
Problem or suggestion?Send feedbackChat with support
Version v1.1Updated Update history
NewNew BIMI and MTA-STS checkers: BIMI record, SVG Tiny PS logo, mark certificate and DMARC prerequisite; _mta-sts record, mta-sts.txt policy file matched against MX hosts, and TLS-RPT.
Use it via API:site/dnssite/email-auth
Reading an MTA-STS result
Three pieces have to agree: the DNS record, the policy file and your MX records.
- 10 record types plus reverse lookup
- Compare three public resolvers
- SPF, DMARC, DKIM, BIMI and MTA-STS checkers

_mta-sts record
v=STSv1 plus an id. Senders cache the policy and only fetch it again when the id changes, so change the id every time you edit the file.
Policy file
mode, max_age and one mx line per mail server, served over HTTPS at mta-sts.<domain> with a valid certificate, status 200 and no redirect.
MX match
Every MX host must match an mx: line. In enforce mode a sender will not deliver to an MX that is missing from the policy.
TLS-RPT
Not part of MTA-STS but its natural partner: a _smtp._tls record with a rua address, so senders tell you when TLS fails.
This tool cannot check the certificates on your MX hosts themselves; that needs an SMTP connection. A failed TLS handshake shows up in TLS-RPT reports.
Three steps
No sign-up. One click sends the queries.
-
1
Enter a name
A domain, subdomain, URL or email address. Paste an IP address for a reverse lookup.
-
2
Pick type and resolver
Common types is the usual start. Choose “Compare all three” after a DNS change to see whether it has spread.
-
3
Look up and copy
Read the summary, then copy the zone-file lines or download them. Open the MX, SPF, DMARC or DKIM checker for mail records.
MTA-STS rules (RFC 8461) and TLS-RPT (RFC 8460)
Both are Proposed Standards from 2018 and are supported by Gmail, Microsoft 365 and Yahoo as senders.
_mta-sts.<domain>TXT: starts withv=STSv1,id=1–32 letters or digits; more than one record means no policy- Policy at
https://mta-sts.<domain>/.well-known/mta-sts.txt: status 200,text/plain, no redirects followed, certificate valid for mta-sts.<domain> - Fields:
version: STSv1,mode: enforce | testing | none,max_ageup to 31557600 seconds,mx:lines (required unless mode is none) - A wildcard in mx: replaces exactly one left-most label: *.example.com matches mail.example.com, not example.com or a.b.example.com
_smtp._tls.<domain>TXT:v=TLSRPTv1; rua=with mailto: or https: addresses
| mode | When TLS to the MX fails | Use it |
|---|---|---|
| testing | Mail is delivered; failure is reported via TLS-RPT | First weeks, while reading reports |
| enforce | Mail is not delivered to that MX | Once reports are clean |
| none | Policy switched off | Only to retire MTA-STS |
gmail.com’s MTA-STS setup
Looked up on 2026-11-28. _mta-sts: v=STSv1; id=20190429T010101; · _smtp._tls: v=TLSRPTv1;rua=mailto:sts-reports@google.com
| Line | Reading |
|---|---|
version: STSv1 | The only version |
mode: enforce | Senders must not deliver without valid TLS |
mx: smtp.google.com, mx: gmail-smtp-in.l.google.com | Exact host names |
mx: *.gmail-smtp-in.l.google.com | Covers alt1–alt4.gmail-smtp-in.l.google.com, so all 5 MX hosts match |
max_age: 86400 | One day, shorter than the weeks RFC 8461 expects: Google can change MX hosts quickly, at the cost of more frequent fetches |
Records change. Click Look up for the current values; the sample keeps its date.
MTA-STS mistakes
Usually the record is fine and something else is in the way.
Editing the policy without changing the id
Senders keep the cached policy until max_age runs out. Change id= in the TXT record whenever the file changes.
Adding an MX host but not the mx: line
In enforce mode the new server receives no mail from MTA-STS senders. Update the policy (and id) before switching MX records.
Serving the policy through a redirect
Redirecting mta-sts.example.com to another site, or to http, breaks it: senders do not follow redirects. Serve the file directly with a certificate for that host name.
Where domains show up in your analytics
DNS answers practical questions behind the reports: who sent this traffic, which network a crawler came from, and how the tracking script is served.
Referring domains
Sources lists the sites that send visitors. Look up an unfamiliar one to see whether it resolves and who hosts it before you trust its traffic.
Learn moreBots counted separately
TapCub separates crawlers from people with five layers, one of them hosting networks. A PTR lookup shows the hostname a crawler’s IP publishes.
Learn moreNo CNAME tricks
TapCub does not use CNAME aliasing to make its requests look first-party. The cookie policy lists what else it deliberately does not do.
Learn moreDNS lookup questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
What is the difference between MTA-STS and DANE?
Both make senders require TLS. DANE publishes certificate details in DNS and needs DNSSEC; MTA-STS uses a policy file over HTTPS and works without DNSSEC. Gmail and Microsoft 365 support MTA-STS as senders.
Should I start with mode: testing?
Yes. Publish TLS-RPT at the same time, read the daily reports for a week or two, and switch to enforce once no sender reports failures for your MX hosts.
Why can’t the browser fetch mta-sts.txt itself?
Browsers block pages from reading files on other websites unless the site allows it, and policy hosts do not. The tool fetches the file through check.tapcub.com, without redirects, exactly as a sending mail server would.
What max_age should I use?
RFC 8461 expects weeks or more; 604800 (one week) to 31557600 (one year, the maximum) is common. A long max_age protects better between fetches, but you must plan MX changes ahead.
Is this tool working for you?
Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.
Need help right now?
Chat with our support team, best for urgent problems; you can leave a message when we are offline.
Chat with supportUpdate history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.1
New featureNew BIMI and MTA-STS checkers: BIMI record, SVG Tiny PS logo, mark certificate and DMARC prerequisite; _mta-sts record, mta-sts.txt policy file matched against MX hosts, and TLS-RPT.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Recommend this tool in an article or on your site
This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.
https://tapcub.com/tools/dns-lookup<a href="https://tapcub.com/tools/dns-lookup">DNS lookup - TapCub</a>From the domain to the visitors it brings
TapCub shows where visitors come from, separates bots from people, and adds live chat on the same snippet. No cookies in the default mode.