Symptoms
PwerDNS will fail to start. Checking the systemd journal will show an errot like the following.
# journalctl -u pdns.service|tail
...
Nov 13 07:32:00 host.domain.tld systemd[1]: Starting PowerDNS Authoritative Server...
...
Nov 13 07:32:00 host.domain.tld pdns_server[30051]: Fatal error: Trying to set unknown parameter 'upgrade-unknown-types'
Nov 13 07:32:00 host.domain.tld systemd[1]: pdns.service: main process exited, code=exited, status=1/FAILURE
Nov 13 07:32:00 host.domain.tld systemd[1]: Failed to start PowerDNS Authoritative Server.
Nov 13 07:32:00 host.domain.tld systemd[1]: Unit pdns.service entered failed state.
Nov 13 07:32:00 host.domain.tld systemd[1]: pdns.service failed.
Description
This is cause by PowerDNS being out of date. The "upgrade-unknown-types" setting was not added until PowerDNS 4.4, so any prior version will fail to start with this setting.
Workaround
The following command can be used to update PowerDNS as well as find other out of date or missing cPanel packages.
/scripts/check_cpanel_pkgs