[Pdns-users] pdns-recursor and local cache
Brian Candler
b.candler at pobox.com
Thu Dec 12 18:14:13 UTC 2019
On 12/12/2019 17:53, Pedro David Marco via Pdns-users wrote:
> i am using pdns-recursor and would like it to have like a local cache
> that can be read from a file.
>
> i know pdns-recursor can read /etc/hosts file to serve entries from it
> before trying to reolve them... is this the best way? will it work ok
> for a huge hosts file?
There is also https://doc.powerdns.com/recursor/settings.html#auth-zones
What problem are you trying to solve? If it's to blacklist or redirect
millions of domains, then maybe LUA lookup or RPZ will suit you better.
Some references:
https://www.powerdns.com/resources/2016%20UKNOF%20filtering%20bert%20hubert.pdf
https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/
https://git.mauras.ch/Various/powerdns_recursor_ads_blocking
https://blog.powerdns.com/2016/06/28/response-policy-zone-support-in-powerdns-recursor/
https://ftp.isc.org/isc/dnsrpz/isc-tn-2010-1.txt
More information about the Pdns-users
mailing list