Bluehost Web Hosting Help

Edit Reseller DNS Zone Template

In November 2014 Bluehost announced that it will no longer be accepting new shared Reseller hosting signups. As part of that announcement, Bluehost announced a partnership with ResellerClub wherein Bluehost is recommending ResellerClub as the hosting partner of choice for Reseller hosting.

To learn more about this change please see: Reseller Hosting Services FAQ

This feature of WHM allows you to apply a set of default DNS records everytime 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. And 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.

Knowledgebase Article 109,001 views bookmark tags: dns domains


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

DNS Management - How To Add Edit Or Delete DNS Entries

How to Modify Your DNS Records

What Are DNS Records? Domain Name System Examples - DNS Zone Editor

What are the commonly used DNS entries?

DNS Propagation

Any time DNS is updated, it can take up to 48 hours for those changes to take effect. This period of time is called propagation, and it applies to any and all DNS updates. This article will explain what propagation is and why it's important.

Related Help Content

Configuring Name Servers for Your Reseller Main Domain Registered With a 3rd Party.

Using Your Custom Name Servers for Domains Registered With a 3rd Party.

Wildcard Subdomains or DNS

Do you support wildcard subdomains or wildcard DNS entries?

What Is A CNAME - How To Create & Edit CNAME

Definition of a CNAME

DNS Management - How To Edit MX Records

I would like to change my MX Record so I can use a mail server with another provider.

DNS Entry Already Exists - Error Message in WHM

Explains how to fix the DNS entry already exists warning

What Is an A Record? How To Edit an A Record

Definition of an A Record

What Is An AAAA Record? - How To Edit AAAA Record

A definition of AAAA Records

Time Zone Adjustment

How can I change the reported Time Zone using PHP?