Websites & SEO

What is TXT record?

A TXT record is a DNS entry that holds plain text. Services use it to confirm you own a domain, and email systems use it to publish rules such as SPF, DKIM and DMARC.

What TXT records are used for

When you connect Google Workspace, Microsoft 365, a newsletter tool or a search console, they ask you to add a TXT record containing a random string. Their system then looks it up and knows the domain is yours. Email authentication also lives in TXT: SPF lists permitted senders, DKIM publishes a public key, and DMARC sets the policy for failures.

Limits and quirks

A single string is limited in length, so long DKIM keys are split into pieces that your DNS panel joins. Some panels want quotes around the value, others add them for you. A domain should have only one SPF record; two separate SPF TXT records make both invalid.

Keeping them tidy

Old verification strings pile up. Leave any that a live service still checks, but remove records for tools you stopped using. Changes follow the TTL, so allow time before retrying a failed verification.

Questions, answered

Usually yes, they only prove ownership. Remove ones for services you dropped, because they can hint at which tools you use.

Receivers expect exactly one SPF record. Merge all senders into one record with a single v=spf1 and end it with one policy.

By the Stegnor team · Updated