From: Otto Moerbeek Date: Tue, 11 Feb 2020 11:30:29 +0000 (+0100) Subject: Warn at refresh=0 X-Git-Tag: auth-4.3.0-beta2~23^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8778%2Fhead;p=thirdparty%2Fpdns.git Warn at refresh=0 --- diff --git a/pdns/rec-lua-conf.cc b/pdns/rec-lua-conf.cc index aae001107a..046f1d485b 100644 --- a/pdns/rec-lua-conf.cc +++ b/pdns/rec-lua-conf.cc @@ -300,6 +300,9 @@ void loadRecursorLuaConfig(const std::string& fname, luaConfigDelayedThreads& de if(have.count("refresh")) { refresh = boost::get(have["refresh"]); + if (refresh == 0) { + g_log<