aboutsummaryrefslogtreecommitdiff
path: root/middleware/dnstap/README.md
diff options
context:
space:
mode:
authorGravatar varyoo <varyoo@users.noreply.github.com> 2017-07-24 23:12:50 +0200
committerGravatar Miek Gieben <miek@miek.nl> 2017-07-24 14:12:50 -0700
commit1b7492be6e07f4b8306c0b4a56d79f37485ae61c (patch)
tree02510da5a7cf228821373a8090bac29055764aba /middleware/dnstap/README.md
parentf33b02689c564c1de8774f7f99d2400231a76069 (diff)
downloadcoredns-1b7492be6e07f4b8306c0b4a56d79f37485ae61c.tar.gz
coredns-1b7492be6e07f4b8306c0b4a56d79f37485ae61c.tar.zst
coredns-1b7492be6e07f4b8306c0b4a56d79f37485ae61c.zip
WIP: middleware/dnstap (#711)
middleware/dnstap add
Diffstat (limited to 'middleware/dnstap/README.md')
-rw-r--r--middleware/dnstap/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/middleware/dnstap/README.md b/middleware/dnstap/README.md
new file mode 100644
index 000000000..a9d47d501
--- /dev/null
+++ b/middleware/dnstap/README.md
@@ -0,0 +1,20 @@
+# Dnstap
+
+## Syntax
+
+`dnstap SOCKET [full]`
+
+* **SOCKET** is the socket path supplied to the dnstap command line tool.
+* `full` to include the wire-format dns message.
+
+## Dnstap command line tool
+
+```sh
+go get github.com/dnstap/golang-dnstap
+cd $GOPATH/src/github.com/dnstap/golang-dnstap/dnstap
+go build
+./dnstap -u /tmp/dnstap.sock
+./dnstap -u /tmp/dnstap.sock -y
+```
+
+There is a buffer, expect at least 13 requests before the server sends its dnstap messages to the socket.