Prerequisites
Before adding a TXT record, make sure you have:
- Access to HestiaCP control panel
- A domain added in HestiaCP with DNS service enabled
- The text value you need to add (from email provider, Google, etc.)
What is a TXT Record?
TXT records store text information about your domain. They are commonly used for:
- Domain verification (Google, Facebook, etc.)
- SPF (Sender Policy Framework) - Email authentication
- DKIM (DomainKeys Identified Mail)
- DMARC policies
Step 1: Log in to HestiaCP
Access https://YOUR_SERVER_IP:8083 and log in.
Step 2: Navigate to DNS Section
Click on DNS in the top menu bar.
Step 3: Select Your Domain
Click on the domain name you want to manage.
Step 4: Click "Add DNS Record"
Click the green + Add DNS Record button.
Step 5: Configure the TXT Record
Fill in the details:
- Record Name: Usually leave empty (@) or enter subdomain
- Record Type: Select TXT from dropdown
- IP Address: Enter the text value (can be multiple lines)
- Priority: Leave empty
Common TXT Record Examples
Google Domain Verification
Name: @
Value: google-site-verification=ABC123XYZ...
SPF Record (Email Authentication)
Name: @
Value: v=spf1 mx ~all
Or for Google Workspace:
v=spf1 include:_spf.google.com ~all
DKIM Record
Name: default._domainkey
Value: v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC...
DMARC Policy
Name: _dmarc
Value: v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
TXT Record for Third-Party Services
Many services require TXT verification:
- Google Search Console - google-site-verification
- Facebook Domain Verification - facebook-domain-verification
- Bing Webmaster Tools - bing-site-verification
- Apple Pay - apple-domain-verification
Troubleshooting
If the text value contains spaces or quotes, wrap in double quotes:
"v=spf1 include:_spf.google.com ~all"
✅ TXT record has been added successfully!