Uptimecat

TXT record lookup

TXT records carry free text that other services read. Look up a name to see its verification codes, email policies and anything else published there.

What TXT records are used for

TXT records began as notes for humans. Today they mostly hold machine-readable data. Anyone can read them, so never put secrets in a TXT record.

Long values are stored as several strings of up to 255 characters. The tool joins them back together so you see the full text.

Common values

Starts withPurpose
v=spf1SPF: which servers may send mail for the domain. Test it with the SPF checker.
v=DMARC1DMARC policy. It lives at _dmarc.example.com. Use the DMARC checker.
v=DKIM1A DKIM public key at selector._domainkey.example.com. See the DKIM checker.
google-site-verification=Proof of domain ownership for a search or workspace service.
Other tokensVerification codes for hosting, certificate and SaaS providers.

Tips

  • Keep only one SPF record per name. Two records break SPF.
  • Remove verification tokens for services you no longer use.
  • Watch for stray quotes or line breaks added by a control panel. They change the value.

Watch this record in Uptimecat

  1. Open the dashboard and add a new monitor.
  2. Choose the DNS monitor type and enter the host name you just looked up.
  3. Set the record type to TXT and keep the resolver server that suits you.
  4. Enter a part of the expected text, so a removed or edited record is flagged.
  5. Pick an alert channel such as email, Slack or Telegram and save. See DNS monitoring for the full list of options.

Limits of TXT records

A single string holds at most 255 characters, and a whole DNS response is limited in size. Very large TXT sets, for example from many verification tokens plus a long SPF record, can push a response over the limit and make it fall back to TCP or fail. If your lookup is slow or incomplete, remove tokens you no longer need.

The record name matters as much as the value. The same text on the wrong name does nothing, so check the exact host name your provider asks for.

Frequently asked questions

Can one name have many TXT records?

Yes. Each service adds its own. Only SPF is limited to one record.

Why is my verification record not found?

Either it is on a different name, such as a subdomain, or the cache still holds the old answer. Wait for the TTL and try again.

Are TXT records private?

No. Anyone can query them.

Run the check

Related

Open the dashboard

Sign in with your Google account to add a monitor and pick an alert channel. Access is currently limited to Moruk accounts; open sign-up is not available yet.

Sign in