Configure a DNS zone template in WHM to automatically apply specific DNS records and settings to any new account created on the server. This ensures consistency across your hosting environment and reduces manual configuration for new customers.
Before you begin
You will need:
Server Administrator access to WHM
A defined set of DNS records you wish to include in the template (e.g., default MX records, SPF records, or specific A records)
Configuring the DNS Zone Template
Log in to WHM.
Navigate to DNS Functions > Edit DNS Zone Template.
Select the template you wish to modify from the list. If you need to create a new template, select Create New Template.
Enter the desired name for the template.
Add the records you want to include in the template.
For each record, enter the Name, Type, and Value.
Click Save to apply the changes to the template.
Confirm the result
The template will now appear in the list of available DNS templates.
When a new account is created, the system will automatically populate the DNS zone with the records defined in the selected template.
You can verify this by creating a test account and checking the DNS zone for the newly created domain.
Limitations
This feature is only available on servers where the DNS Zone Template functionality is enabled.
Changes made to a template will only apply to accounts created after the template is updated. Existing accounts will not have their DNS records updated automatically.
The template applies to the DNS zone at the time of account creation; it does not automatically update records if you change the template later.
