TXT Record Lookup

Public TXT records show the text published at a DNS name, including email policies, DKIM keys and domain verification codes.

For DMARC, enter the email domain. For DKIM, choose the first option and enter the full record name with the selector from the s= field in the message’s DKIM signature.

Finding a TXT Record at the Right Name

TXT records belong to a specific DNS name. A verification code might be published at example.com, while the domain’s DMARC policy is published at _dmarc.example.com. For a DMARC lookup, the domain alone is enough. The DMARC option checks the name under _dmarc. A DKIM key also needs a selector, which you can find in a signed message.

A DNS control panel sometimes shows @ for the zone itself. If the zone is example.com, enter example.com in the lookup. If the panel shows a short label such as _dmarc, check whether it appends the zone name automatically. The public name in that case is _dmarc.example.com.

Matching a Verification Code

Find the entry whose prefix matches the one your provider gave you, then compare the whole value. Several services can ask you to publish verification codes at the same name. Even one service may issue different codes for different accounts.

For some verification codes, a note beside the record names the service that uses that format. When the full value matches the code for your account, return to that service to finish verifying your domain.

Reading Long Values and Email Policies

Each result shows the record name, the published text and the time to live (TTL) in seconds. DNS can store a long TXT value as several strings in one record. Your DNS dashboard may put quotation marks around each string. For SPF, mail software joins the strings within one record without adding spaces. Each result card represents one TXT record. If two cards show the same name, compare their text separately.

An SPF policy starts with v=spf1. Read the whole entry when comparing it with your mail provider’s settings. A match at the beginning can hide a missing include or a different ending. The SPF label identifies the text format. It cannot establish how a receiving server evaluated a particular message.

When an Expected TXT Value Is Missing

First compare the name shown in your DNS dashboard with the one you queried. A lookup for example.com won’t show a code saved under www.example.com. Then check whether the public nameservers belong to the provider where you made the change. A record saved in an unused zone will never appear in the active one.

If you recently added a record, the resolver may still have an earlier empty answer in its cache. The TTL beside an existing record applies only to that record. A DNS error leaves the record’s presence uncertain. Check again before deleting a value you expected to find.

TXT Record Lookup (FAQ)