summaryrefslogtreecommitdiffstats
path: root/modules/dnstap/README.rst
blob: 442b4cfcd2bc204aae4e2d7faf8d9338737b1bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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:

* ``socket_path``: the the unix socket file where dnstap messages will be sent
* ``log_responses``: if true responses in wire format will be logged

.. code-block:: lua

    modules = {
        dnstap = {
            socket_path = "/tmp/dnstap.sock",
            log_responses = true
        }
    }