Reseller: Edit the DNS Zone Template
This feature of WHM allows you to apply a set of default DNS records every time you Create a New Account.
Modifying the DNS Zone Template can help you ensure that any custom DNS settings you may have or want each customer to use are used for each new sign-up you have. An example of the default Template can be reviewed below.
Example of DNS Zone Template
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
How to Edit the DNS Zone Template
As a reseller, you are able to update the default DNS zone template that is used when creating a new account.
Warning! Making modifications to the DNS Zone Template can cause major DNS issues and may cause sites to not load.
If you feel uncomfortable or unsure about making these changes, please feel free to contact Bluehost support via phone or live chat, and we will be more than happy to assist you with these changes.
- Log in to your WHM.
- Under the list to the left, click DNS Functions.
- Click Edit Zone Templates.
Here you will see three templates. The "standardvirtualftp" template is used for every new account. Please choose and edit this template with your custom settings.
If you need further assistance, feel free to contact us via Chat or Phone:
- Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.