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

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

2018-04-15 Thread MRob
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-recursor/luaScript.lua': STL Exception: [string "chunk