You may see the following while trying to start PowerDNS.
warn [restartsrv_pdns] The system is unable to find systemd configuration for the 'pdns' service...
info [restartsrv_pdns] The system could not find required package 'cpanel-pdns' for service 'pdns'...
(XID k23tpz) The “pdns” service is not installed.
This error can be caused by the PowerDNS service being enabled but not installed.
Run the following script in SSH as root to ensure the RPMs managed by cPanel are installed.