From d98635ad3b48a503473f8cbe94d1744e801d12cc Mon Sep 17 00:00:00 2001 From: Peter Gervai Date: Mon, 8 Sep 2025 19:57:25 +0200 Subject: [PATCH] Add configuration example in comment to help the reader. --- modules/lua2backend/examples/pdns_server_example.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/lua2backend/examples/pdns_server_example.lua b/modules/lua2backend/examples/pdns_server_example.lua index 7e8812d54..29254c531 100644 --- a/modules/lua2backend/examples/pdns_server_example.lua +++ b/modules/lua2backend/examples/pdns_server_example.lua @@ -8,6 +8,12 @@ -- -- test: dig 4.3.2.1.aa-td-bq.666666.c.example.hu -- dig 4.3.2.1.aa-td-qq-bq.666666.c.example.hu +-- +-- config: +-- launch += lua2 +-- lua2-api = 2 +-- # lua2-query-logging = yes +-- lua2-filename = /etc/powerdns/pdns_server_example.lua pdnslog( "lua: starting the backend") -- 2.47.3