summaryrefslogtreecommitdiffstats
path: root/modules/dnstap/README.rst
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2017-02-22 14:47:26 +0100
committerOndřej Surý <ondrej@sury.org>2017-03-06 12:48:45 +0100
commit0e62dafdd9a249f15b2ed4acfa28caa2f101a16c (patch)
treee6b9642f121cf5e68a0fdabbb08e7bf0021483b3 /modules/dnstap/README.rst
parentmodules/dnstap: nitpicks (diff)
downloadknot-resolver-0e62dafdd9a249f15b2ed4acfa28caa2f101a16c.tar.xz
knot-resolver-0e62dafdd9a249f15b2ed4acfa28caa2f101a16c.zip
modules/dnstap: move description into the docs
Diffstat (limited to 'modules/dnstap/README.rst')
-rw-r--r--modules/dnstap/README.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/dnstap/README.rst b/modules/dnstap/README.rst
new file mode 100644
index 00000000..e33b5a91
--- /dev/null
+++ b/modules/dnstap/README.rst
@@ -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
+ }
+ }