Doviren
English ▾

← Measurement lab · Home

What DNS TXT records really contain

TXT is the zone's drawer for machine-readable text. In this run it held SPF policies such as <code>v=spf1 -all</code>, a <code>google-site-verification=</code> token, and short opaque verification strings. None of them are prose written for a person to read.

TXT values we received

One genuine TXT answer per domain from the 2026-12-02 measurement, truncated for display. The JSON keeps longer values in full.

txt-records — chart drawn from our 560-row UDP/53 measurement, click to enlarge
Article illustration · Drawn from the What DNS TXT records reall measurements published on this page. Click to enlarge in place — no separate image URL.
DomainValue (display-truncated)TTL
baidu.comgoogle-site-verification=GHb98-6msqyx_qqjGl5eRatD3QTHyVB6-xQ3gJB5UwM7200
cloudflare.comMS=ms70274184300
example.com_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9300
github.comMS=ms44452932300
mozilla.orgMS=ms1434323560
piccalc.comv=spf1 -all300
python.orglibera-1298aas300
qq.comv=spf1 include:spf.mail.qq.com ~all424

One string, several unrelated jobs

SPF uses TXT to list which hosts may send mail for a domain. Domain ownership checks put a token there so a provider can confirm control. DKIM public keys and DMARC policies use the same mechanism under their own prefixes. The record type does not distinguish them; the string inside does.

v=spf1 -all is a complete, valid policy meaning "no host is authorised to send mail for this domain" — short does not mean unfinished.

Why a TXT lookup can come back empty

58.1% of successful TXT queries in this run contained a matching TXT answer. A domain with no SPF, no verification token and no DMARC simply has nothing to publish, and a NOERROR response with no TXT is the correct result. An empty answer is data, not an error.

Inspecting your own domain

Use the lookup tool with type TXT and read every string separately: a zone commonly publishes several TXT records at once. Open DNS lookup → · CSV · related: MX records are not website addresses, Which record types actually answer.

Run a DNS lookup → · Why one name is many IPs →

Check your own connection

Real TXT answers from a ten-domain measurement: SPF policies, site-verification tokens and other. For the txt-records batch, Before applying these findings to your network, run DNS lookup、IP lookup or WebRTC leak test once each — all three stay local.

Sources and further reading

The record types and fields used in "What DNS TXT records really " are defined by the specifications below. Our own measurements are published separately and do not replace them.

For “What DNS TXT records really ”, the specifications above cover the fields used; this page's own measurements and collection limits are stated in the body and do not replace those specs.