{"id":7917,"date":"2024-02-28T14:03:13","date_gmt":"2024-02-28T14:03:13","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=7917"},"modified":"2024-02-28T14:03:16","modified_gmt":"2024-02-28T14:03:16","slug":"tutorial-guide-installing-cpanel-dns-only-linux","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/","title":{"rendered":"A Step-by-Step Guide to install cPanel DNS Only on Linux"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en.jpg\" alt=\"setup cPanel DNS Only Linux installation guide cPanel DNS Only Ubuntu cPanel DNS Only AlmaLinux cPanel DNS Only RHEL\" class=\"wp-image-7930\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>Setting up your own dedicated DNS server provides increased performance, stability, and security for your domains&#8217; DNS infrastructure. <strong>cPanel DNS Only<\/strong> is a free and a great option for running an authoritative DNS server on Linux.<\/p>\n\n\n\n<p>This guide will walk you through installing and configuring cPanel DNS Only on Linux. We&#8217;ll cover:<\/p>\n\n\n\n<ul>\n<li>The benefits of using DNS Only<\/li>\n\n\n\n<li>Detailed requirements and prerequisites<\/li>\n\n\n\n<li>Step-by-step installation on Ubuntu or AlmaLinux<\/li>\n\n\n\n<li>Post-install configuration<\/li>\n\n\n\n<li>Securing your DNS server<\/li>\n\n\n\n<li>Enabling DNSSEC<\/li>\n\n\n\n<li>Integrating with DNS clusters<\/li>\n\n\n\n<li>Troubleshooting common problems<\/li>\n<\/ul>\n\n\n\n<p>By the end, you&#8217;ll have extensive knowledge for deploying DNS Only on Linux. Let&#8217;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-use-cpanel-dns-only\">Why Use cPanel DNS Only?<\/h2>\n\n\n\n<p>Before we dive into the installation, let&#8217;s discuss why you may want to use cPanel DNS Only for your authoritative DNS:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"lightweight-and-fast\">Lightweight and Fast<\/h3>\n\n\n\n<p>DNS Only includes only the DNS services and management tools without all the extra components in cPanel. This optimized codebase makes it quick and lightweight.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"easy-dns-management\">Easy DNS Management<\/h3>\n\n\n\n<ul>\n<li>User-friendly web interface for managing DNS zones, records, and settings easily.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"advanced-dns-features\">Advanced DNS Features<\/h3>\n\n\n\n<ul>\n<li>Supports modern DNS like DNSSEC for security and anycast for performance.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"integrates-with-cpanel\">Integrates with cPanel<\/h3>\n\n\n\n<ul>\n<li>Can join clusters with cPanel WHM servers and synchronize DNS zones.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"actively-developed\">Actively Developed<\/h3>\n\n\n\n<ul>\n<li>cPanel has a long history of actively maintaining their software with frequent updates.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"powerdns-or-bind\">PowerDNS or BIND<\/h3>\n\n\n\n<ul>\n<li>Can choose between PowerDNS or BIND as the DNS server backend.<\/li>\n<\/ul>\n\n\n\n<p>By leveraging DNS Only for your authoritative DNS, you can take back control over this critical infrastructure for your domains and build a faster, more robust DNS system.<\/p>\n\n\n\n<p>Now let&#8217;s go over the requirements and prerequisites.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dns-only-requirements-and-prerequisites\">DNS Only Requirements and Prerequisites<\/h2>\n\n\n\n<p>Before installing cPanel DNS Only, you need a Linux server that meets these requirements:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"supported-linux-distribution\">Supported Linux Distribution<\/h3>\n\n\n\n<ul>\n<li><strong>Ubuntu 20.04 LTS<\/strong>&nbsp;&#8211; The latest Ubuntu LTS release is recommended.<\/li>\n\n\n\n<li><strong>AlmaLinux 8<\/strong>&nbsp;&#8211; The community fork of RHEL 8.<\/li>\n<\/ul>\n\n\n\n<p>Older outdated distributions are not recommended.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"fresh-minimal-install\">Fresh Minimal Install<\/h3>\n\n\n\n<p>Start with a fresh minimal install of your Linux distribution, without any existing configuration or software. DNS Only should be the only application installed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"root-access\">Root Access<\/h3>\n\n\n\n<p>You must have root level SSH access to install and configure the software.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"assign-fqdn\">Assign FQDN<\/h3>\n\n\n\n<p>Set your server&#8217;s hostname to be a proper FQDN like&nbsp;<code>ns1.example.com<\/code>&nbsp;instead of a short name.<\/p>\n\n\n\n<p>Edit&nbsp;<code>\/etc\/hostname<\/code>&nbsp;and update it to your desired FQDN hostname.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"open-firewall-ports\">Open Firewall Ports<\/h3>\n\n\n\n<p>The following TCP ports must be opened in your Linux firewall:<\/p>\n\n\n\n<ul>\n<li>53 &#8211; Standard DNS queries<\/li>\n\n\n\n<li>953 &#8211; DNS over TLS encrypted queries<\/li>\n\n\n\n<li>2087 &#8211; DNS Only web interface<\/li>\n\n\n\n<li>80\/443 &#8211; If integrating with cPanel server<\/li>\n<\/ul>\n\n\n\n<p>On Ubuntu, use UFW to open the ports:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ ufw allow 53\n$ ufw allow 953\n$ ufw allow 2087\n$ ufw allow 80\/443<\/code><\/pre>\n\n\n\n<p>On AlmaLinux, use Firewalld:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ firewall-cmd --permanent --add-port=953\/tcp\n$ firewall-cmd --reload<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"meet-minimum-system-resources\">Meet Minimum System Resources<\/h3>\n\n\n\n<p>The server should have at least:<\/p>\n\n\n\n<ul>\n<li>2 GB RAM<\/li>\n\n\n\n<li>2 CPU cores<\/li>\n\n\n\n<li>10 GB storage space<\/li>\n<\/ul>\n\n\n\n<p>For production use, 4+ cores, 8GB+ RAM, and RAID-10 HDDs or SSDs are recommended.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"resolvable-hostname\">Resolvable Hostname<\/h3>\n\n\n\n<p>Ensure your server&#8217;s hostname is resolvable either via local DNS or an&nbsp;<code>\/etc\/hosts<\/code>&nbsp;entry pointing it to a local IP address.<\/p>\n\n\n\n<p>Test resolving it from the server itself:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ ping $(hostname)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"access-to-cpanel-repositories\">Access to cPanel Repositories<\/h3>\n\n\n\n<p>Your server must be able to reach cPanel&#8217;s repositories directly or through a local mirror in order to install the software.<\/p>\n\n\n\n<p>That covers the key requirements and prerequisites. Next we&#8217;ll go through the installation process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-by-step-guide-to-installation\">Step-by-Step Guide to Installation<\/h2>\n\n\n\n<p>With your Linux server ready, let&#8217;s go through the installation process step-by-step:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-installation-script\">Download Installation Script<\/h3>\n\n\n\n<p>First, SSH to your server as root and change to the \/home directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ cd \/home<\/code><\/pre>\n\n\n\n<p>Next, use curl to download the latest cPanel DNS Only installation script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ curl -o latest-dnsonly -L https:\/\/securedownloads.cpanel.net\/latest-dnsonly<\/code><\/pre>\n\n\n\n<p>This will save the script to&nbsp;<code>latest-dnsonly<\/code>&nbsp;in your current working directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"make-script-executable\">Make Script Executable<\/h3>\n\n\n\n<p>We need to make the script executable before running it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ chmod +x latest-dnsonly<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"run-installer-script\">Run Installer Script<\/h3>\n\n\n\n<p>Now execute the script to begin the installation process:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/latest-dnsonly<\/code><\/pre>\n\n\n\n<p>This will start the interactive installer that installs PowerDNS, configures it for DNS Only mode, installs the web interface, and performs other setup steps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"accept-license-agreement\">Accept License Agreement<\/h3>\n\n\n\n<p>During the installation, you will be prompted to accept the cPanel license agreement. This is mandatory, so accept it to continue.<\/p>\n\n\n\n<p>The rest of the installation will proceed automatically. It usually takes around 5-10 minutes depending on your server&#8217;s Internet connection speed.<\/p>\n\n\n\n<p>Once finished, DNS Only will be installed but we need to complete the initial configuration next.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"post-installation-configuration\">Post-Installation Configuration<\/h2>\n\n\n\n<p>After installation, there are some important post-install steps to perform for initial configuration:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"update-hostname\">Update Hostname<\/h3>\n\n\n\n<p>Even though we already set the hostname earlier, let&#8217;s update it again in \/etc\/hostname to ensure it matches the server&#8217;s FQDN:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ vim \/etc\/hostname\nns1.example.com<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"define-hostname-in-etchosts\">Define Hostname in \/etc\/hosts<\/h3>\n\n\n\n<p>Next, make sure your server&#8217;s hostname is defined in \/etc\/hosts mapping to 127.0.0.1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">127.0.0.1   localhost ns1.example.com<\/code><\/pre>\n\n\n\n<p>This allows properly resolving the hostname locally.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"reboot-server\">Reboot Server<\/h3>\n\n\n\n<p>With the hostname configured, reboot your server for the changes to take effect:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ reboot<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"verify-web-interface-access\">Verify Web Interface Access<\/h3>\n\n\n\n<p>Once your server has rebooted, test that you can access the DNS Only web interface at:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">https:\/\/your_server_fqdn:2087<\/code><\/pre>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">https:\/\/ns1.example.com:2087<\/code><\/pre>\n\n\n\n<p>Accept the SSL certificate warning and enter your admin username and password.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"remove-default-test-zone\">Remove Default Test Zone<\/h3>\n\n\n\n<p>A default test zone called &#8220;localhost.localdomain&#8221; is created during installation. This sample zone should be removed:<\/p>\n\n\n\n<ol>\n<li>In the DNS Only interface, go to Configure -&gt; Zones<\/li>\n\n\n\n<li>Find the localhost.localdomain zone and delete it.<\/li>\n<\/ol>\n\n\n\n<p>This completes post-installation configuration! Next we&#8217;ll discuss securing your DNS Only server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"securing-your-dns-only-server\">Securing Your DNS Only Server<\/h2>\n\n\n\n<p>Since DNS is a critical infrastructure component, it&#8217;s important to follow security best practices for your DNS Only server:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-a-dedicated-server\">Use a Dedicated Server<\/h3>\n\n\n\n<p>Don&#8217;t install additional software beyond DNS Only. This server should be 100% dedicated to DNS services.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disable-root-ssh-login\">Disable Root SSH Login<\/h3>\n\n\n\n<p>Prevent direct root SSH logins by setting&nbsp;<code>PermitRootLogin no<\/code>&nbsp;in your SSH daemon config.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-ssh-keys-over-passwords\">Use SSH Keys Over Passwords<\/h3>\n\n\n\n<p>For any SSH access, use key-based authentication instead of passwords.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"follow-os-security-recommendations\">Follow OS Security Recommendations<\/h3>\n\n\n\n<p>Refer to your Linux distribution&#8217;s security guides for additional ways to harden the OS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-a-host-firewall\">Install a Host Firewall<\/h3>\n\n\n\n<p>Consider installing CSF, Firewalld, or UFW to lock down access. Allow only required ports.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"regular-updates\">Regular Updates<\/h3>\n\n\n\n<p>Apply security patches by regularly updating DNS Only, PowerDNS, and the OS packages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"monitor-for-anomalies\">Monitor for Anomalies<\/h3>\n\n\n\n<p>Use monitoring tools like Fail2ban to alert on abnormal activity like brute force attacks.<\/p>\n\n\n\n<p>Following security best practices ensures your DNS infrastructure stays safe and secure.<\/p>\n\n\n\n<p>Now let&#8217;s look at enabling DNSSEC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-up-dnssec\">Setting Up DNSSEC<\/h2>\n\n\n\n<p>DNSSEC provides additional security for your DNS data through cryptographic signing of records.<\/p>\n\n\n\n<p>Here is how to enable DNSSEC for a domain with DNS Only:<\/p>\n\n\n\n<ol>\n<li>In the web UI, go to Configure -&gt; Zones<\/li>\n\n\n\n<li>Select the domain zone you want to activate DNSSEC for<\/li>\n\n\n\n<li>Go to the DNSSEC section and click &#8220;Enable DNSSEC&#8221;<\/li>\n\n\n\n<li>Follow the steps to generate and activate a new DNSSEC key<\/li>\n<\/ol>\n\n\n\n<p>Once enabled, the parent domain (i.e. .com) will also need to have DNSSEC active and publish a DS record. This allows end-to-end validation.<\/p>\n\n\n\n<p>See the&nbsp;<a href=\"https:\/\/www.cpanel.net\/docs\/dns-zones\/dnssec\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel DNSSEC documentation<\/a>&nbsp;for more details on configuring it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"integrating-with-a-dns-cluster\">Integrating with a DNS Cluster<\/h2>\n\n\n\n<p>For redundancy, you can join your DNS Only server to an existing cPanel WHM cluster. This synchronizes zones between the servers.<\/p>\n\n\n\n<p>To enable cluster synchronization:<\/p>\n\n\n\n<ol>\n<li>On your cPanel WHM server, install a Cluster Sync license<\/li>\n\n\n\n<li>Go to Home &gt;&gt; Clustering Services &gt;&gt; Manage Sync Cluster<\/li>\n\n\n\n<li>Click &#8220;Add server to cluster&#8221; and input your DNS Only server&#8217;s IP<\/li>\n\n\n\n<li>Copy the \/etc\/dns_cluster.conf auth key from WHM to your DNS Only server<\/li>\n<\/ol>\n\n\n\n<p>Once joined, DNS zones in WHM will automatically sync to your DNS Only server. See the&nbsp;<a href=\"https:\/\/www.cpanel.net\/docs\/whm\/clustering\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel clustering docs<\/a>&nbsp;for more details.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"troubleshooting-common-problems\">Troubleshooting Common Problems<\/h2>\n\n\n\n<p>Here are some tips for resolving common issues with DNS Only:<\/p>\n\n\n\n<p><strong>Can&#8217;t access web interface:<\/strong><\/p>\n\n\n\n<ul>\n<li>Verify connecting to correct hostname and port 2087<\/li>\n\n\n\n<li>Check firewall allows port 2087<\/li>\n\n\n\n<li>Try restarting the cpsrvd service<\/li>\n<\/ul>\n\n\n\n<p><strong>Zone changes not working:<\/strong><\/p>\n\n\n\n<ul>\n<li>Increment the DNS zone serial when editing<\/li>\n\n\n\n<li>Flush DNS cache on clients and test again<\/li>\n\n\n\n<li>Restart PowerDNS service to load new zone data<\/li>\n<\/ul>\n\n\n\n<p><strong>DNSSEC validation failures:<\/strong><\/p>\n\n\n\n<ul>\n<li>Ensure DS record is published at registrar<\/li>\n\n\n\n<li>Verify parent zone (.com, .net) has DNSSEC active<\/li>\n\n\n\n<li>Use dig to check DNSKEY and DS records are available<\/li>\n<\/ul>\n\n\n\n<p><strong>Cluster synchronization failures:<\/strong><\/p>\n\n\n\n<ul>\n<li>Confirm \/etc\/dns_cluster.conf has auth key from WHM<\/li>\n\n\n\n<li>Check firewall allows traffic on port 40000 for clustering<\/li>\n\n\n\n<li>Look for errors in \/var\/log\/cpdnsrsync.log<\/li>\n\n\n\n<li>Force push zones from WHM to sync changes<\/li>\n<\/ul>\n\n\n\n<p>This covers the most common troubleshooting steps. See the cPanel docs for additional debugging tips.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>In this comprehensive guide, we covered the benefits of using cPanel DNS Only for authoritative DNS, outlined the installation requirements and prerequisites, provided step-by-step installation instructions for Ubuntu and AlmaLinux, discussed post-install configuration like setting an admin password and hostname, explained important security considerations for hardening your DNS server, detailed how to enable advanced DNSSEC functionality, and described integrating DNS Only into an existing DNS cluster. Additionally, troubleshooting tips were provided for common issues. By now you should have all the knowledge needed to get a full-featured DNS Only server up and running on Linux, ready to start taking your domains\u2019 DNS infrastructure to the next level! Let me know in the comments if you have any other questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up your own dedicated DNS server provides increased performance, stability, and security for your domains&#8217; DNS infrastructure. cPanel DNS Only is a free and a great option for running an authoritative DNS server on Linux. This guide will walk you through installing and configuring cPanel DNS Only on Linux. We&#8217;ll cover: By the end, ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,198],"tags":[],"yoast_head":"\n<title>A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-28T14:03:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-28T14:03:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"A Step-by-Step Guide to install cPanel DNS Only on Linux\",\"datePublished\":\"2024-02-28T14:03:13+00:00\",\"dateModified\":\"2024-02-28T14:03:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\"},\"wordCount\":1500,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\",\"Web hosting Panels\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\",\"name\":\"A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2024-02-28T14:03:13+00:00\",\"dateModified\":\"2024-02-28T14:03:16+00:00\",\"description\":\"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Step-by-Step Guide to install cPanel DNS Only on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations","description":"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/","og_locale":"en_US","og_type":"article","og_title":"A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations","og_description":"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.","og_url":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2024-02-28T14:03:13+00:00","article_modified_time":"2024-02-28T14:03:16+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/cpanel_dns_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"A Step-by-Step Guide to install cPanel DNS Only on Linux","datePublished":"2024-02-28T14:03:13+00:00","dateModified":"2024-02-28T14:03:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/"},"wordCount":1500,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration","Web hosting Panels"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/","url":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/","name":"A Step-by-Step Guide to install cPanel DNS Only on Linux - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2024-02-28T14:03:13+00:00","dateModified":"2024-02-28T14:03:16+00:00","description":"A comprehensive guide to installing and configuring cPanel DNS Only on Linux, covering requirements, installation on Ubuntu, AlmaLinux, RHEL, configuration, security, DNSSEC, clustering, and troubleshooting.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/tutorial-guide-installing-cpanel-dns-only-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"A Step-by-Step Guide to install cPanel DNS Only on Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7917"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=7917"}],"version-history":[{"count":7,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7917\/revisions"}],"predecessor-version":[{"id":7934,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7917\/revisions\/7934"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=7917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=7917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=7917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}