From: bert hubert Date: Sat, 16 Jan 2016 12:46:33 +0000 (+0100) Subject: we silently ignored your Lua script if there was no Lua support in PowerDNS Recursor... X-Git-Tag: dnsdist-1.0.0-alpha2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ca0b8f92dde47369d9c12dcac25e2e7ada1cfcd;p=thirdparty%2Fpdns.git we silently ignored your Lua script if there was no Lua support in PowerDNS Recursor. This makes us error out again. --- diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index b2208b5dc3..c1312abf3f 100644 --- a/pdns/lua-recursor4.cc +++ b/pdns/lua-recursor4.cc @@ -9,7 +9,7 @@ RecursorLua4::RecursorLua4(const std::string &fname) { - // empty + throw std::runtime_error("Attempt to load a Lua script in a PowerDNS binary without Lua support"); } bool RecursorLua4::nxdomain(const ComboAddress& remote,const ComboAddress& local, const DNSName& query, const QType& qtype, vector& ret, int& res, bool* variable)