How to Install cPanel DNSONLY

This article demonstrates how to install cPanel DNSONLY.

Launch 100% SSD VPS from $3.19/mo!

What is cPanel DNSONLY?

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.

Prerequisites

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

  1. A VPS server or dedicated server with AlmaLinux 8/9, Rocky Linux 8/9, CloudLinux 7/8/9. or Ubuntu 22.04 LTS. (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. (See: How to Open Ports in Linux Server)
  5. A properly-configured Ethernet device with a static IP address and fully-qualified hostname.

How to Install cPanel DNSONLY

To install cPanel DNSONLY, perform the following steps on your 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/

Launch 100% SSD VPS from $3.19/mo!

Conclusion

You now know how to install cPanel DNSONLY.

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

Related Articles

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

How to Find the IP of cPanel/WHM Server

This tutorial is designed to troubleshoot and diagnose issues with cPanel license errors. Find...

Uninstall WHMXtra on cPanel Server

This article provides a quick and direct guide for uninstalling the WHMXtra plugin from a...

How to Customize cPanel Installation

This article provides a guide for customizing a cPanel server installation, using the...