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-recursor/luaScript.lua': STL
> Exception: [string "chunk"]:6: attempt to call global 'newNMG' (a nil
> value)
> 
> Strange because I get pdns-recursor from pdns repo. Version 4.1.2 so why
> is this errors?

You are using lua-config-file instead of lua-dns-script to load your file.

Best regards,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to