Knowledge Base

How to Add a TXT Record in cPanel

DNS logo

This article will show you how to add a TXT record using the Zone Editor in cPanel.


1. Know What the Record Is For

TXT records hold text that other services read. The common uses are proving you own the domain, and publishing SPF, DKIM and DMARC policies for email.

2. Open Zone Editor

Find it in the Domains section of cPanel, then choose Manage next to the domain.

3. Add a TXT Record

Choose Add Record and set the type to TXT.

4. Enter the Name

For a domain-wide record such as SPF, use the domain itself or @. For a specific service, use the name it gave you, such as _dmarc or a selector like default._domainkey.

5. Enter the Value

Paste the value exactly as provided, including quotes if they are part of it. A single missing character makes the record useless, and nothing will tell you so.

6. Set the TTL

3600 seconds is a sensible default. Lower it to 300 first if you expect to change the record again soon.

7. Save and Verify

Save, then check the record has published before telling the service to verify. Propagation is usually minutes for a new record, but can take longer.


Next: How to Check DNS Propagation and Troubleshoot DNS covers confirming it has published.

Please rate this article to help us improve our Knowledge Base.

0 0