TapCub is live — analytics, insights and live chat, free on one platform

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.

Lookup
What is sent, and to whom. Nothing is requested when the page opens. When you click Look up, your browser asks the DNS-over-HTTPS service you pick for the TXT and MX records. Browsers cannot read files on other websites, so the policy file is fetched through TapCub’s checking service (check.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

NameRecordStatus
_mta-sts.gmail.comv=STSv1; id=20190429T010101;OK
_smtp._tls.gmail.comv=TLSRPTv1;rua=mailto:sts-reports@google.comOK

Policy file

FieldValueMeaningStatus
versionSTSv1Policy versionOK
modeenforceWhat senders do when TLS failsOK
mxsmtp.google.comMail server allowed to receive mailOK
mxgmail-smtp-in.l.google.comMail server allowed to receive mailOK
mx*.gmail-smtp-in.l.google.comMail server allowed to receive mailOK
max_age86400Cache 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: lineStatus
gmail-smtp-in.l.google.comgmail-smtp-in.l.google.comMatches
alt3.gmail-smtp-in.l.google.com*.gmail-smtp-in.l.google.comMatches
alt1.gmail-smtp-in.l.google.com*.gmail-smtp-in.l.google.comMatches
alt2.gmail-smtp-in.l.google.com*.gmail-smtp-in.l.google.comMatches
alt4.gmail-smtp-in.l.google.com*.gmail-smtp-in.l.google.comMatches
Record
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
Parsing, checks and the zone-file text are produced in your browser. The only network traffic is the DNS-over-HTTPS queries listed above, sent directly from your browser when you click; TapCub never sees which domain you looked up.

Share these inputs: the values go after the # in the link, so they never reach a server.

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

Read the result

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
DNS lookup illustration: Look up A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, SRV and PTR records, and compare Cloudflare, Google and Alibaba Cloud resolvers
DNS lookup, illustrated

_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.

How to use it

Three steps

No sign-up. One click sends the queries.

  1. 1

    Enter a name

    A domain, subdomain, URL or email address. Paste an IP address for a reverse lookup.

  2. 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. 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.

How it works

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 with v=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_age up 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 values
modeWhen TLS to the MX failsUse it
testingMail is delivered; failure is reported via TLS-RPTFirst weeks, while reading reports
enforceMail is not delivered to that MXOnce reports are clean
nonePolicy switched offOnly to retire MTA-STS
Example

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

The policy file, line by line
LineReading
version: STSv1The only version
mode: enforceSenders must not deliver without valid TLS
mx: smtp.google.com, mx: gmail-smtp-in.l.google.comExact host names
mx: *.gmail-smtp-in.l.google.comCovers alt1–alt4.gmail-smtp-in.l.google.com, so all 5 MX hosts match
max_age: 86400One 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.

Common mistakes

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.

FAQ

DNS 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.

Feedback

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.

Rate this tool

Please don’t include passwords or other sensitive information.

Only used to reply to this feedback.

Type, details and email are required.

We only use this to handle your feedback. See the privacy policy.

Feedback received

Thank you! We will read it and reply from hello@tapcub.com if needed.

Need help right now?

Chat with our support team, best for urgent problems; you can leave a message when we are offline.

Chat with support
Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · 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.

  2. · 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

Cite this tool

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.

URL
https://tapcub.com/tools/dns-lookup
HTML link
<a href="https://tapcub.com/tools/dns-lookup">DNS lookup - TapCub</a>
Next step

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.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics