TXT records are used to verify domain ownership (Google, Microsoft, Facebook, etc.) and to set up email authentication (SPF, DKIM, DMARC). Here is how to add them.
How to Add a TXT Record in cPanel
- Log in to cPanel.
- Click Zone Editor in the Domains section.
- Find your domain and click Manage.
- Click Add Record.
- Set the Type to TXT.
- In the Name field, enter @ (for root domain verification) or the specific prefix given by the service (e.g., some services give you something like _google-site-verification or _dmarc).
- Paste the full TXT string in the Record field. Be careful not to add extra spaces.
- Click Add Record.
Common TXT Record Use Cases
Google Search Console / Google Workspace Verification
Google will give you a code like: google-site-verification=abc123XYZ...
Add it as: Name = @ | Type = TXT | Value = google-site-verification=abc123XYZ...
SPF Record (Email Authentication)
Tells email servers which servers are allowed to send email from your domain.
Standard Hordanso SPF record: v=spf1 include:hordanso.net ~all
If using Google Workspace for email: v=spf1 include:_spf.google.com ~all
DMARC Record
Name: _dmarc | Value: v=DMARC1; p=none; rua=mailto:[email protected]
Note: If an SPF record already exists for your domain, do not add a second one. Edit the existing one to include additional services.
Tip: After adding a TXT record, wait 15–60 minutes before verifying, as DNS propagation takes time. Use MXToolbox (mxtoolbox.com/SuperTool.aspx) to check if your TXT record is live.
