]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/dnstap: move description into the docs
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 22 Feb 2017 13:47:26 +0000 (14:47 +0100)
committerOndřej Surý <ondrej@sury.org>
Mon, 6 Mar 2017 11:48:45 +0000 (12:48 +0100)
doc/modules.rst
modules/dnstap/README.rst [new file with mode: 0644]
modules/dnstap/dnstap.c

index cc25562e12eed93e303d7eae42432e560a6cd773..dade86c986869c518c77dfb594b96b205eeb9186 100644 (file)
@@ -24,3 +24,4 @@ Knot DNS Resolver modules
 .. include:: ../modules/cookies/README.rst
 .. include:: ../modules/version/README.rst
 .. include:: ../modules/workarounds/README.rst
+.. include:: ../modules/dnstap/README.rst
diff --git a/modules/dnstap/README.rst b/modules/dnstap/README.rst
new file mode 100644 (file)
index 0000000..e33b5a9
--- /dev/null
@@ -0,0 +1,24 @@
+.. _mod-dnstap:
+
+Dnstap
+------
+
+Dnstap module currently supports logging dns responses to a unix socket
+in dnstap format using fstrm framing library.  The unix socket and the
+socket reader should be present before starting kresd.
+
+Configuration
+^^^^^^^^^^^^^
+Tunables:
+
+* ``sockpath``: the the unix socket file where dnstap messages will be sent
+* ``logRespPkt``: if true responses in wire format will be logged
+
+.. code-block:: lua
+
+    modules = {
+        dnstap = {
+            sockPath = "/tmp/dnstap.sock",
+            logRespPkt = true
+        }
+    }
index 872105ccf938336e4c7453974c30401a8328e4c0..9417b08aa8c16baf8bb24a0de62b4d27bd242f9c 100644 (file)
  * @file dnstap.c
  * @brief dnstap based query logging support
  *
- * dnstap module currently supports logging dns responses to a unix socket
- * in dnstap format using fstrm framing library. The unix socket and the
- * socket reader should be present before starting kresd
- *
- * Tunables:
- * sockpath: is the the unix socket file where dnstap messages will be send
- * logRespPkt: if true responses in wire format will be logged
- *
- * sample configuration for dnstap
- * dnstap = {
- *     sockPath = "/tmp/dnstap.sock",
- *     logRespPkt = true
- * }
- *
  */
 
 #include "lib/module.h"