TXT records store text information in your domain's DNS. They are used for domain verification, email authentication (SPF, DKIM, DMARC), and other services.
Adding a TXT Record in cPanel
Go to Domains > Zone Editor > Manage. Click Add Record. Set:
- Name: @ (root domain) or a subdomain prefix like
_dmarc - TTL: 14400
- Type: TXT
- Record: the value provided by the service
Click Add Record.
Common Uses for TXT Records
- Google Search Console: verify domain ownership
- SPF:
v=spf1 include:... ~all - DMARC:
v=DMARC1; p=none; ... - Microsoft 365 verification:
MS=ms12345678
About TTL
TTL (Time to Live) is how long DNS resolvers cache the record, in seconds. 14400 = 4 hours. Lower TTL means changes propagate faster but increases DNS query load. When making changes, temporarily lower TTL to 300 (5 minutes) before the change.