Re: [Pdns-users] dp.variable when changing RPZ policy action?

2018-04-16 Thread MRob
On 2018-04-17 05:42, MRob wrote: PowerDNS blog recommends setting dq.variable when a domain response is part of the loaded block list. https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/ But this example for modifying policy actions does not set dq.var

[Pdns-users] dp.variable when changing RPZ policy action?

2018-04-16 Thread MRob
PowerDNS blog recommends setting dq.variable when a domain response is part of the loaded block list. https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/ But this example for modifying policy actions does not set dq.variable: https://doc.powerdns.com/m

Re: [Pdns-users] Lua control of config settings?

2018-04-16 Thread MRob
On 2018-04-16 10:55, MRob wrote: On 2018-04-16 10:09, Remi Gacogne wrote: On 04/16/2018 12:03 PM, MRob wrote: According to this, you *should* be able to load a million domains into LUA without problem.  That's the same method this person said crashed recursor with much less https://git.mau

Re: [Pdns-users] How to make Policy.NODATA response in policy zone?

2018-04-16 Thread bert hubert
On Mon, Apr 16, 2018 at 11:48:43AM +, MRob wrote: > RPZ doxs are here > https://doc.powerdns.com/recursor/lua-config/rpz.html > > With no information how to make the policy responses in the zone file. I had If you read the very first line of that link, it tells you this is an implementation o

Re: [Pdns-users] How to make Policy.NODATA response in policy zone?

2018-04-16 Thread MRob
On 2018-04-16 11:40, bert hubert wrote: On Mon, Apr 16, 2018 at 11:33:17AM +, MRob wrote: I can make NXDOMAIN applied policy for a domain in policy zone with this: example.com CNAME . But how to cause NODATA response? Hello "MRob", We recommend that you read the documentation we wrote f

Re: [Pdns-users] How to make Policy.NODATA response in policy zone?

2018-04-16 Thread bert hubert
On Mon, Apr 16, 2018 at 11:33:17AM +, MRob wrote: > I can make NXDOMAIN applied policy for a domain in policy zone with this: > example.com CNAME . > > But how to cause NODATA response? Hello "MRob", We recommend that you read the documentation we wrote for you on https://doc.powerdns.com/r

[Pdns-users] How to make Policy.NODATA response in policy zone?

2018-04-16 Thread MRob
I can make NXDOMAIN applied policy for a domain in policy zone with this: example.com CNAME . But how to cause NODATA response? ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: [Pdns-users] Lua control of config settings?

2018-04-16 Thread MRob
On 2018-04-16 10:09, Remi Gacogne wrote: On 04/16/2018 12:03 PM, MRob wrote: According to this, you *should* be able to load a million domains into LUA without problem.  That's the same method this person said crashed recursor with much less https://git.mauras.ch/Various/powerdns_recursor_a

Re: [Pdns-users] Lua errors finding global objects in recent version

2018-04-16 Thread Remi Gacogne
On 04/16/2018 12:09 PM, MRob wrote: > Thank you for your help. I am try to load a policy zone and over-ride > the zone using LUA. A little confused but can you confirm I need both? Yes, you do. lua-config-file is for configuration options, as explained in [1], and lua-dns-script to modify the recu

Re: [Pdns-users] Lua errors finding global objects in recent version

2018-04-16 Thread MRob
On 2018-04-16 07:45, Remi Gacogne wrote: Hi, On 04/16/2018 01:41 AM, MRob wrote: I have strange errors in LUA script like this: Unable to load Lua script from '/etc/pdns-recursor/luaScript.lua': STL Exception: [string "chunk"]:2: attempt to call global 'pdnslog' (a nil value) Unable to load L

Re: [Pdns-users] Lua control of config settings?

2018-04-16 Thread Remi Gacogne
On 04/16/2018 12:03 PM, MRob wrote: >> According to this, you *should* be able to load a million domains into >> LUA without problem.  > > That's the same method this person said crashed recursor with much less > https://git.mauras.ch/Various/powerdns_recursor_ads_blocking > Are there other people

Re: [Pdns-users] Lua control of config settings?

2018-04-16 Thread MRob
On 2018-04-16 07:01, Brian Candler wrote: On 15/04/2018 22: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/ You may find this interesting: https://www.

Re: [Pdns-users] Lua errors finding global objects in recent version

2018-04-16 Thread Remi Gacogne
Hi, On 04/16/2018 01:41 AM, MRob wrote: > I have strange errors in LUA script like this: > > Unable to load Lua script from '/etc/pdns-recursor/luaScript.lua': STL > Exception: [string "chunk"]:2: attempt to call global 'pdnslog' (a nil > value) > > Unable to load Lua script from '/etc/pdns-recu

Re: [Pdns-users] Lua control of config settings?

2018-04-16 Thread Brian Candler
On 15/04/2018 22: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/ You may find this interesting: https://www.powerdns.com/resources/2016%20UKNOF%20filte