From 30cc9cad8026bdd96b22aa556d8586dff283faf8 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 20 Feb 2025 09:49:31 +0100 Subject: [PATCH] More LUA -> Lua when applicable. --- pdns/auth-main.cc | 10 +++++----- pdns/packethandler.cc | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 7667f8b976..d1eb4a4d4f 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -313,13 +313,13 @@ static void declareArguments() ::arg().setSwitch("resolve-across-zones", "Resolve CNAME targets and other referrals across local zones") = "yes"; ::arg().setSwitch("8bit-dns", "Allow 8bit dns queries") = "no"; #ifdef HAVE_LUA_RECORDS - ::arg().setSwitch("enable-lua-records", "Process LUA records for all zones (metadata overrides this)") = "no"; - ::arg().setSwitch("lua-records-insert-whitespace", "Insert whitespace when combining LUA chunks") = "no"; - ::arg().set("lua-records-exec-limit", "LUA records scripts execution limit (instructions count). Values <= 0 mean no limit") = "1000"; + ::arg().setSwitch("enable-lua-records", "Process Lua records for all zones (metadata overrides this)") = "no"; + ::arg().setSwitch("lua-records-insert-whitespace", "Insert whitespace when combining Lua chunks") = "no"; + ::arg().set("lua-records-exec-limit", "Lua records scripts execution limit (instructions count). Values <= 0 mean no limit") = "1000"; ::arg().set("lua-health-checks-expire-delay", "Stops doing health checks after the record hasn't been used for that delay (in seconds)") = "3600"; - ::arg().set("lua-health-checks-interval", "LUA records health checks monitoring interval in seconds") = "5"; + ::arg().set("lua-health-checks-interval", "Lua records health checks monitoring interval in seconds") = "5"; ::arg().set("lua-consistent-hashes-cleanup-interval", "Pre-computed hashes cleanup interval (in seconds)") = "3600"; - ::arg().set("lua-consistent-hashes-expire-delay", "Cleanup pre-computed hashes that haven't been used for the given delay (in seconds). See pickchashed() LUA function") = "86400"; + ::arg().set("lua-consistent-hashes-expire-delay", "Cleanup pre-computed hashes that haven't been used for the given delay (in seconds). See pickchashed() Lua function") = "86400"; #endif ::arg().setSwitch("axfr-lower-serial", "Also AXFR a zone from a primary with a lower serial") = "no"; diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index d3d5c21498..82a2c8eecb 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -409,7 +409,7 @@ bool PacketHandler::getBestWildcard(DNSPacket& p, const DNSName &target, DNSName #ifdef HAVE_LUA_RECORDS if (rr.dr.d_type == QType::LUA && !d_dk.isPresigned(d_sd.qname)) { if(!doLua) { - DLOG(g_log<<"Have a wildcard Lua match, but not doing LUA record for this zone"<