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



More information about the Pdns-users mailing list