I honestly find it hard to believe that I cannot seem to find anything about this on the Internet.
I love cPanel. And I just couldn’t resist choosing it over ISPconfig. Please note that this is my first time setting up a DNS server, however, I know how DNS works and I’m familiar with BIND. I also have an NGINX reverse proxy server proxying and providing SSL via Certbot and Let’s Encrypt for about 5 servers including our UniFi Cloud Controller. Furthermore, I also have a LibreNMS and phpIPAM server running NGINX and PHP-FPM.
The reason for a cPanel server is to primarily migrate all our web servers to a single server, as I feel it’s a waste of resources to run multiple Linux servers with each running their own instance of NGINX. It’s just too much unnecessary OS and application overhead.
With that being said, my first challenge is getting DNS to work using PowerDNS. I have created the .local domain, and A records resolve successfully, however, I can’t use cPanel as a primary name server, as no other DNS queries will resolve (for e.g. google.com). Correct me if I’m wrong, but this is recursive DNS, correct? And from what I can gather by going through the PowerDNS documentation, is that it does support it. So how do I get it to work on cPanel’s PowerDNS?
P.S. I can get this to work when I switch to BIND and make a few changes in its config file (recursion is now disabled by default), however, the switch caused an issue where one of my zones wouldn’t resolve anymore, so I reinstalled and I’m giving PowerDNS one last try before giving up on it.
I love cPanel. And I just couldn’t resist choosing it over ISPconfig. Please note that this is my first time setting up a DNS server, however, I know how DNS works and I’m familiar with BIND. I also have an NGINX reverse proxy server proxying and providing SSL via Certbot and Let’s Encrypt for about 5 servers including our UniFi Cloud Controller. Furthermore, I also have a LibreNMS and phpIPAM server running NGINX and PHP-FPM.
The reason for a cPanel server is to primarily migrate all our web servers to a single server, as I feel it’s a waste of resources to run multiple Linux servers with each running their own instance of NGINX. It’s just too much unnecessary OS and application overhead.
With that being said, my first challenge is getting DNS to work using PowerDNS. I have created the .local domain, and A records resolve successfully, however, I can’t use cPanel as a primary name server, as no other DNS queries will resolve (for e.g. google.com). Correct me if I’m wrong, but this is recursive DNS, correct? And from what I can gather by going through the PowerDNS documentation, is that it does support it. So how do I get it to work on cPanel’s PowerDNS?
P.S. I can get this to work when I switch to BIND and make a few changes in its config file (recursion is now disabled by default), however, the switch caused an issue where one of my zones wouldn’t resolve anymore, so I reinstalled and I’m giving PowerDNS one last try before giving up on it.