1. bluehost knowledge base

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 is 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.

  1. Login to your WHM.
  2. Under the list to the left click DNS Functions.
  3. 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.