[Pdns-users] Lua control of config settings?

MRob mrobti at insiberia.net
Sun Apr 15 23:38:44 UTC 2018

On 2018-04-15 21:08, MRob wrote:
> I read about how recursor can be used to block queries for tracking 
> domains:
> https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/
> But I also read it chokes recursor if the list is many thousands 
> domains:
> https://git.mauras.ch/Various/powerdns_recursor_ads_blocking
> So using forward-zones-file is a good solution but I want to use the
> optional solution provided in the PDNS Blog where some client IP
> address are filtered some are not.
> Can I turn "forward-zones-file" on/off in Lua preresolve function?

Maybe another option to use "etc-hosts-file" but same questions can it 
be turn on/off and does it handle say 500.000 domains?

Also I found response policy zones, maybe this is a best solution. Does 
RPZ stand up to example 500.000 domains in a local RPZ file?

More information about the Pdns-users mailing list