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:
echo "CPANEL=lts" >> /etc/cpupdate.conf
echo "RPMUP=daily" >> /etc/cpupdate.conf
echo "SARULESUP=daily" >> /etc/cpupdate.conf
echo "STAGING_DIR=/usr/local/cpanel" >> /etc/cpupdate.conf
echo "UPDATES=daily" >> /etc/cpupdate.conf
cd /home
curl -o latest-dnsonly -L https://securedownloads.cpanel.net/latest-dnsonly
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, cpanel dnsonly
  • 6 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Related Articles

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

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....

How to Install Installatron in WHM cPanel Server

This guide will show you how to download and install Installatron on your cPanel/WHM server. To...

How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...