Skip to content

Commit

Permalink
Merge pull request #376 from hills/master
Browse files Browse the repository at this point in the history
Point the user towards tcpdump for logging individual queries
  • Loading branch information
wcawijngaards authored Aug 23, 2024
2 parents 8728e0f + fc1e84d commit df19159
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/manual/running/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ in order to keep NSD focused and minimise its complexity.
It is better to leave logging and tracing to separate dedicated tools. Do note,
however, that NSD can be compiled with support for DNSTAP (see ``nsd.conf(5)``).

If some visibility on individual queries is required, consider running
``tcpdump(1)`` on the server, using an appropriate filter rule to capture UDP
and TCP packets to port 53. The tcpdump on most systems will decode the packets
into readable requests and responses.

The `CAIDA dnsstat tool <https://www.caida.org/catalog/software/dnsstat/>`_ can
easily be configured and/or modified to suit local statistics requirements
without any danger of affecting the name server itself. We have run ``dnsstat``
Expand Down

0 comments on commit df19159

Please sign in to comment.