How to Add a TXT Record in cPanel Zone Editor
TXT records store arbitrary text in your DNS zone. They are used for email authentication (SPF, DKIM, DMARC), domain ownership verification, and third-party service setup.
- * *
Add a TXT record
- Log in at https://tpc-hosting.com/login and open cPanel.
- Under Domains , click Zone Editor.
- Find your domain and click Manage.
- Click Add Record.
- Set the record fields:
- Name : Use @ or leave it blank for the root domain. For a subdomain, enter the subdomain prefix only (e.g., _dmarc , mail).
- TTL : Leave at the default (14400 or 3600). Lower values update faster; higher values reduce DNS query load.
- Type : Select TXT.
- Record : Paste the TXT value provided by the service (e.g., _v=spf1 include:_spf.example.com ~all_).
- Click Add Record.
- * *
Common uses for TXT records
- SPF — added to the root domain (@). Tells receiving servers which IPs are allowed to send email for your domain. See: How to Set Up an SPF Record in cPanel.
- DKIM — added to a selector subdomain (e.g., _default._domainkey_). Provides a cryptographic email signature.
- DMARC — added to _dmarc. Defines the policy for failed SPF/DKIM checks.
- Google Search Console verification — added to @ with the value Google provides.
- Domain verification for SaaS tools — Stripe, HubSpot, Mailchimp, and others use TXT records to verify domain ownership.
- * *
How long until it takes effect?
DNS changes typically propagate within 5–30 minutes when your nameservers are ns1.b2b-server.net and ns2.b2b-server.net. You can verify the record has propagated using https://mxtoolbox.com/TXTLookup.aspx.
Updated on: 28/04/2026
Thank you!