Install cPanel DNSONLY on CentOS 7

This article provides a guide for installing cPanel DNSONLY on CentOS 7. cPanel DNSONLY allows you to run a dedicated physical nameserver with a cPanel/WHM interface. cPanel DNSONLY is an ideal solution for utilizing the DNS Cluster in cPanel and WHM.

Requirements for Installing cPanel DNSONLY

In order to install cPanel DNSONLY, you must have the following:

  1. A VPS server or dedicated server with CentOS 7 installed. (Launch a KVM VPS)
  2. Root access to the server.
  3. NetworkManager must be disabled. (Read our guide: Disable NetworkManager in CentOS 7)
  4. Your server must have following ports open allowing traffic: 53, 953, and 2087.
  5. A properly-configured Ethernet device with a static IP address and fully-qualified hostname.

Installing cPanel DNSONLY

To install cPanel DNSONLY, perform the following steps on your CentOS 7 server:

    1. Login to your server as root via SSH.
    2. Run the following commands:
cd /home
curl -o latest-dnsonly -L
sh latest-dnsonly

If your server is properly configured, the installation will run automatically for several minutes. When this process is complete, you can now login to WHM via your browser from https://YOURIP:2087/ or https://YOURHOSTNAME:2087/


  • dns cluster, dns server, centos 7
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create an Account in WHM

This article discusses the process of creating a hosting account in WHM. Creating an Account...

WHM Hosting Package Extensions

Introduction Package extensions add custom fields to packages and accounts. These fields can...

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

Enable Lets Encrypt AutoSSL Provider

This article refers to cPanel version 84 and later. Enable Let's Encrypt for AutoSSL Follow...