From: Peter Gervai Date: Mon, 8 Sep 2025 17:57:25 +0000 (+0200) Subject: Add configuration example in comment to help the reader. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F16100%2Fhead;p=thirdparty%2Fpdns.git Add configuration example in comment to help the reader. --- 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")