MyWackoSite: Recursor

https://wiki.ebal.gr     Version: 1 (10/23/2015 12:22)

Recursor


Hits : 3,438

https://www.powerdns.com/

Power DNS Recursor


notes for PowerDNS Authoritative Server click here: pdns auth ns[link1]
notes for PowerDNS Recursive Server

Installation


# rpm -ivh https://www.monshouwer.eu/download/3rd_party/pdns-recursor/el7/x86_64/pdns-recursor-rrd-3.7.3-1.el7.MIND.x86_64.rpm		


for openic project[link2]

root.hint


# crontab -l
@daily dig . NS @75.127.96.89 | grep -v '^;' | sort -u -V > /etc/pdns-recursor/root.hint		


block ads 


# wget -c http://winhelp2002.mvps.org/hosts.txt -O /etc/pdns-recursor/hosts.blocked		

recursor conf




# egrep -v '^$|#' /etc/pdns-recursor/recursor.conf

allow-from=127.0.0.0/8, <my_networks>

etc-hosts-file=/etc/pdns-recursor/hosts.blocked
export-etc-hosts=on

hint-file=/etc/pdns-recursor/root.hint

local-address=127.0.0.1,<server_ip>

setuid=pdns-recursor
setgid=pdns-recursor		


Server


# systemctl restart pdns-recursor.service
# systemctl enable pdns-recursor.service		


You need to open your firewall settings for tcp/udp port 53 !