Add a TXT record to a DNS zone in WHM to provide information such as SPF, DKIM, or other verification data for a domain. This procedure is performed by a Server Administrator.
Before you begin
You will need:
Server Administrator access to WHM
The domain name for which you are adding the record
The specific TXT value (e.g., an SPF record or a verification string) provided by your service provider
Adding a TXT Record
Log in to WHM.
Navigate to DNS Functions > DNS Zone Manager.
Select the domain from the list and click Change.
Locate the Record Type dropdown and select TXT.
Enter the Name (or Host) for the record. Use the
@symbol or leave it blank to represent the root domain, or enter a subdomain (e.g.,_dmarc).Enter the TTL (Time to Live). The default value is typically sufficient unless you have a specific requirement.
Enter the Record Value (or Text). This is the data you wish to associate with the record.
Click Save or Add Record to apply the changes.
Confirm the result
The record will appear in the list of records for that DNS zone.
You can verify the record is live by using a tool like
digornslookupfrom a terminal:dig TXT example.comThe output should display the TXT record value you entered.
Limitations
Changes to DNS records may take time to propagate across the internet. The duration depends on the TTL (Time to Live) value of the record and the caching policies of various DNS resolvers.
Ensure the TXT value does not contain any illegal characters or extra spaces that could cause the record to be ignored by mail servers or other services.
