DOKK / manpages / debian 12 / drool / drool-respdiff.1.en
drool(1) General Commands Manual drool(1)

drool - DNS Replay Tool

drool respdiff [ options ] path name file name host port

This tool is to be used in conjunction with the tool-chain respdiff by CZ.NIC (see https://gitlab.labs.nic.cz/knot/respdiff).

It will replay DNS queries found in the PCAP, but only if a correlating response is also found, against the target host and port. The query, original response and the received response is then stored into a LMDB database located at path. The name before the PCAP file and the name before the target host are stored in the meta table which should correspond with the configuration use for respdiff in order for it to be able to read the results correctly.

These options are specific for the respdiff command, see drool(1) for generic options.

Show DNS queries and responses as processing goes.
Do not use TCP.
Do not use UDP.
Use threads.
Set the number of TCP threads to use, default 2.
Set the number of UDP threads to use, default 4.
Set timeout for waiting on responses [seconds.nanoseconds], default 10.0.
Set the size (in bytes, multiple of OS page size) of the LMDB database, default 10485760.

Note that you will need to set a database size that is large enough for all queries, all original responses, all received responses and all analysis done by respdiff tool-chain in order for a successful analysis to be done.

This example replays a PCAP file against localhost and then uses the respdiff tool-chain to analyze the results.


$ drool respdiff /lmdb/path pcap file.pcap target 127.0.0.1 53
$ msgdiff.py /lmdb/path
$ diffsum.py /lmdb/path

drool(1)

Jerry Lundström, DNS-OARC

Maintained by DNS-OARC

https://www.dns-oarc.net/

For issues and feature requests please use:

https://github.com/DNS-OARC/drool/issues

For question and help please use:

admin@dns-oarc.net
2.0.0 DNS Replay Tool