Recursor PowerDNS installation on CentOS
PowerDNS recursor servers installation on CentOS.
Installation
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install epel-release
yum --enablerepo=epel install luajit libsodium
yum --enablerepo=epel install jq
curl -o /etc/yum.repos.d/powerdns-rec-43.repo https://repo.powerdns.com/repo-files/centos-rec-43.repo
yum install pdns-recursor pdns-tools
Configuration
Recursor server configuration
/etc/pdns-recursor/recursor.conf
local-address=0.0.0.0
local-port=53
security-poll-suffix=
forward-zones=home.local=127.0.0.1:5300
forward-zones-recurse=.=10.0.0.140:53
Start server
systemctl enable pdns-recursor.service
systemctl start pdns-recursor.service
Cache purge entries
rec_control wipe-cache test1.home.local