Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Run it to listen on a socket (-u)  and output to a file (-w)
    Code Block
    languagediff
    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
    languagediff
    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
    languagediff
    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

...