dnsreplay (1) Linux Manual Page
dnsreplay – A PowerDNS nameserver debugging tool
Synopsis
dnsreplay [options] filename ip-address [port]Description
This program takes recorded questions and answers and replays them to a specified nameserver and reporting afterwards which percentage of answers matched, were worse or better.filename is expected to be an PCAP file. The queries are send to the DNS server specified as ip-address and [port]. ip-address is mandatory. If [port] is omitted, 53 will be used. dnsreplay compares the answers and some other metrics with the actual ones with those found in the dumpfile.
By default it only replay queries with recursion-desired flag set.
Options
- –help | -h
- Show summary of options.
- –packet-limit num
- Stop after replaying num packets. Default for num is 0, which means no limit.
- –quiet flag
- If flag is set to 1. dnsreplay will not be very noisy with its output. This is the default.
- –recursive flag
- If flag is set to 1. dnsreplay will only replay queries with recursion desired flag set. This is the default.
- –speedup factor
- Replay queries with this speedup factor. Default is 1.
- –timeout-msec time
- Wait at least this many milliseconds for a reply. Default is 500.
