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.
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
Jerry Lundström, DNS-OARC
Maintained by DNS-OARC
For issues and feature requests please use:
For question and help please use:
2.0.0 | DNS Replay Tool |