How to install cPanel DNS Only on CentOS 7
Much like the cPanel/WHM installer for CentOS cPanel has made it really easy to install the DNS Only service.
First make sure you have a clean new server to install the DNS service onto.

Preparing your environment

Login to your virtual machine via SSH using Putty (Windows) or Terminal (Mac) using the root user provided in your welcome email.
It is always recommended to update the servers repositories using the following command.
1
yum update
Copied!

Installing cPanel DNS ONLY

Once your environment is prepped we need to ensure we are in the right directory. Change to the home directory of your VPS using the command:
1
cd /home
Copied!
Now let's get the installer from cPanel:
1
curl -o latest-dnsonly -L https://securedownloads.cpanel.net/latest-dnsonly
Copied!
Now run the installer using the command:
1
sh latest-dnsonly
Copied!
That's it, now just login to the DNS manager to ensure it is running correctly. This works in the same way as WHM.
http://YOUR-IP:2086/