[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!
    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:


-------------- 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