Issue:
After update w/Ubuntu 18. PowerDNS fails. PowerAdmin GUI / website works, but no DNS is functioning.
The log has the following error:
Dec 25 14:53:23 dnsint pdns_server[22405]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Dec 25 14:53:23 dnsint pdns_server[22405]: Fatal error: Trying to set unknown parameter 'recursor'
Dec 25 14:53:23 dnsint systemd[1]: pdns.service: Main process exited, code=exited, status=1/FAILURE
Dec 25 14:53:23 dnsint systemd[1]: pdns.service: Failed with result 'exit-code'.
Dec 25 14:53:23 dnsint systemd[1]: Failed to start PowerDNS Authoritative Server.
Solution:
Disable the stock Ubuntu 18.04 systemd resolved service:
$ sudo systemctl disable systemd-resolved
$ sudo systemctl stop systemd-resolved
Remove the old packages:
$ sudo apt-get purge pdns-recursor pdns-server pdns-backend-mysql
$ sudo apt-get autoremove
$ cd /etc/powerdns/
$ sudo rm *.*
$ cd pdns.d
$ sudo rm *.*
Add the PowerDNS repo back into sources:
$ sudo vi /etc/apt/sources.list.d/pdns.list
(add the following line)
deb [arch=amd64] http://repo.powerdns.com/ubuntu bionic-auth-41 main
<esc>:wq
$ sudo curl https://repo.powerdns.com/FD380FBB-pub.asc | sudo apt-key add -
Reinstall:
$ sudo apt-get update
$ sudo apt-get install pdns-server pdns-backend-mysql
previous page
|