...
- Run it to listen on a socket (-u) and output to a file (-w)
Code Block language diff dnstap -u /var/run/dnstap.sock -w /tmp/output.dnstap
...
- You may have to adjust permissions for the socket depending on what app is writing to it
Code Block language diff chown unbound /var/run/dnstap.sock
- We're currently playing with this so no startup script - which could fix all of these
...
- create dnstap.conf in /etc/unbound/unbound.conf.d/ dir:
Code Block language diff dnstap: dnstap-enable: yes #dnstap-socket-path: "/var/run/unbound/dnstap.sock" dnstap-socket-path: "/var/run/dnstap.sock" dnstap-send-identity: yes dnstap-send-version: yes dnstap-log-resolver-response-messages: yes dnstap-log-client-query-messages: yes
...