As a reseller using WHM (Web Host Manager), you can create custom DNS zone templates, allowing you to customize and control the DNS settings for the domains hosted on your reseller account. This KB article provides step-by-step instructions on how to set up custom DNS zone templates within the WHM interface. 

Please only make modifications to the DNS Zone Templates, if you understand the implications and changes being made. Zone Template changes will only be applicable to newly added domains, or domains where you have Reset the DNS Zone. 

Step 1: Accessing WHM

  1. Open your preferred web browser and enter your WHM login page URL. Typically, this is accessed by appending "/whm" to your domain name (e.g., https://yourdomain.com/whm).
  2. Enter your WHM reseller login credentials (username and password) and click "Log in."

Step 2: Navigating to the "Edit Zone Templates" Page

  1. Once logged in, locate the "DNS Functions" section in the WHM home screen.
  2. Click on the "Edit Zone Templates" option within this section.

Step 3: Creating a Custom DNS Zone Template

  1. On the "Edit Zone Templates" page, you will see a list of pre-existing zone templates.
  2. Click the "Create a New Zone Template" button to begin creating your custom template.

Step 4: Configuring the Custom DNS Zone Template

  1. In the template creation screen, enter a name for your custom DNS zone template in the "Zone Template Name" field. Choose a descriptive name that helps identify the purpose or characteristics of the template.
  2. Customize the DNS settings based on your requirements. You can modify the following fields:
    • TTL (Time To Live): Specify the Time To Live value for the DNS records in the template. This determines how long DNS information is cached by other servers before checking for updates.
    • SOA (Start of Authority): Set the primary authoritative DNS server, contact email address, and other relevant parameters.
    • Add or Modify DNS Records: Add or modify DNS records such as A, CNAME, MX, TXT, and more. Specify the record details, including the hostname, IP address, and other relevant information.
    • Additional Settings: Configure any additional DNS settings as needed.
  3. Once you have customized the template to your satisfaction, click the "Save" button to save the custom DNS zone template.

Step 5: Applying the Custom DNS Zone Template

  1. After saving the custom DNS zone template, you can apply it to specific domains.
  2. Return to the WHM home screen and locate the "DNS Functions" section again.
  3. Click on the "Edit DNS Zone" option within this section.
  4. Select the domain you wish to apply the custom DNS zone template to and click the "Edit" button.
  5. In the DNS zone editing screen, choose your custom template from the "Apply a Zone Template" dropdown menu.
  6. Review and adjust any other DNS settings for the domain as needed.
  7. Click the "Save" button to apply the custom DNS zone template to the selected domain.