]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add configuration example in comment to help the reader. 16100/head
authorPeter Gervai <grin@grin.hu>
Mon, 8 Sep 2025 17:57:25 +0000 (19:57 +0200)
committerPeter Gervai <grin@grin.hu>
Mon, 8 Sep 2025 17:57:25 +0000 (19:57 +0200)
modules/lua2backend/examples/pdns_server_example.lua

index 7e8812d540cd609841b129faeb841acc8e835c71..29254c531e5d529ade7d86f61b2aaea89173b1b5 100644 (file)
@@ -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")