From 0272fb80b40a4db69136d3044e48b6efb8c7e373 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 31 Jul 2025 12:59:35 +0200 Subject: [PATCH] Clarify the implications of not providing dns_get_all_domains. Signed-off-by: Miod Vallat --- docs/backends/lua2.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/backends/lua2.rst b/docs/backends/lua2.rst index 99dba66bb..76f8174fd 100644 --- a/docs/backends/lua2.rst +++ b/docs/backends/lua2.rst @@ -19,7 +19,7 @@ Lua2 Backend * Module name: lua2 * Launch name: ``lua2`` -\* If provided by the responder (your script). +\* If the responder (your script) implements ``dns_get_all_domains``, see below. This is a rewrite of existing Lua backend. This backend is stub between your Lua script and PowerDNS authoritative server. @@ -124,7 +124,8 @@ OUTPUT: NOTES: This function is **optional**, except if you need primary functionality. It - is required if you want to be able to search records. + is required if you want to be able to enable the zone cache or to search + records. ``dns_get_domain_metadata(domain, kind)`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.47.2