Extra quotes or spaces
Some panels add quotes for you. Adding your own can make the stored value start and end with a quote character, and verification fails.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A TXT record stores text in a domain DNS zone, and it is the standard carrier for domain verification codes and email policies such as SPF. One record holds one or more strings of up to 255 bytes each, and a name can have many TXT records.
| Use | Name | Example value |
|---|---|---|
| Domain ownership verification | @ or a provider-chosen host | google-site-verification=abc123 (code comes from the service) |
| SPF email sender policy | @ | v=spf1 include:_spf.example.net -all |
| DKIM public key | selector._domainkey | v=DKIM1; k=rsa; p=MIGf... |
| DMARC policy | _dmarc | v=DMARC1; p=none; rua=mailto:dmarc@example.com |
| Certificate challenge (ACME DNS-01) | _acme-challenge | A token generated by the certificate authority |
The value formats belong to each protocol. DNS itself treats the content as opaque text. See RFC 1035, section 3.3.14.
example.com. 3600 IN TXT "v=spf1 include:_spf.example.net -all"
; strings over 255 bytes are split inside one record
sel._domainkey.example.com. 3600 IN TXT ( "v=DKIM1; k=rsa; p=MIIBIjANBgkq..."
"...rest of the key" )The service asking for the record shows the name (host) and the value. Copy both without retyping.
Type TXT, name as given (@ for the bare domain), value pasted as is. Many panels add the surrounding quotes automatically, so do not add your own unless the panel asks.
Each verification and policy is its own record. Delete a record only when its service is no longer used. Exception: a domain must have only one SPF record.
Use the DNS lookup or nslookup -type=TXT example.com 1.1.1.1. Query the exact name, such as _dmarc.example.com, not just the domain.
Some panels add quotes for you. Adding your own can make the stored value start and end with a quote character, and verification fails.
Verification codes often belong on a specific name such as _dmarc or a provider-chosen host, not on the bare domain.
A domain should publish a single SPF record. Merge them into one instead of adding a second.
A checker run before the TTL expires may see a cached empty answer. Query the authoritative nameserver first.
A TXT record is a DNS record type that holds text. It started as a place for human-readable notes and is now used mostly for machine-read data such as SPF policies, DKIM keys and verification tokens.
Yes. DNS allows any number of TXT records on one name, and services rely on that. The exception is by convention rather than DNS: a domain should publish a single SPF record, because two cause SPF evaluation to fail.
A single string is limited to 255 bytes. Longer values are written as several strings in one record. Providers add their own caps, for example Amazon Route 53 limits a record value to 4,000 characters.
Check that you added it at the DNS host the domain nameservers point to, that the name is exact, and that no resolver is serving a cached empty answer. Query the authoritative nameserver directly to bypass caches.
SPF is a policy format that is published inside a TXT record. A separate SPF record type once existed but is deprecated, and RFC 7208 says implementations must not use it. Publish SPF as a TXT record starting with v=spf1.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.