[Pdns-users] pdns-recursor and local cache

Pedro David Marco pedrod_marco at yahoo.com
Thu Dec 12 18:47:37 UTC 2019


 Hi Brian...
RPZ is exactly what i was looking for... 
 i will try it!
Thanks a lot!
Pete.
    On Thursday, December 12, 2019, 7:14:22 PM GMT+1, Brian Candler <b.candler at pobox.com> wrote:  
 
 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
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20191212/4e22c90f/attachment.htm>


More information about the Pdns-users mailing list