Skip to content

TXT record

A TXT record stores text in DNS. The relevant procedure determines how a service interprets it, for example when checking control of a domain.

Also known asText Record
Cloud & Operations

What is a TXT record?

A TXT record is a DNS resource record containing text data. RFC1035 describes text as the content of this record type. Its meaning depends on the intended use. A TXT record is not inherently an email rule or proof for a particular provider.

Example: proving control of a domain

In a fictional workflow, a service provider requests a specific text value under a specified DNS name. The company places the value in its responsible DNS zone. The provider can then check whether it finds the expected data there.

The name, content and procedure must match that check. Another TXT record at the same domain does not automatically satisfy it. The DNS record itself does not create user access to the service either.

DNS data that can be queried publicly is unsuitable for storing secrets. Access keys or passwords therefore do not belong in such proof. Whether a verification value can later be removed depends on the relevant procedure.

Sources

Articles on this topic

Cloud & Operations with ASES

Hosting, deployment, maintenance and support