1DNSREPLAY(1) PowerDNS Recursor DNSREPLAY(1)
2
3
4
6 dnsreplay -
7
8 dnsreplay - A PowerDNS nameserver debugging tool
9
11 dnsreplay [OPTION]... FILENAME ADDRESS [PORT]
12
14 This program takes recorded questions and answers and replays them to
15 the specified nameserver and reporting afterwards which percentage of
16 answers matched, were worse or better.
17
18 dnsreplay compares the answers and some other metrics with the actual
19 ones with those found in the dumpfile.
20
21 By default it only replay queries with recursion-desired flag set.
22
24 FILENAME
25 is expected to be an PCAP file. The queries are send to the DNS
26 server specified as ADDRESS and PORT.
27
28 ADDRESS
29 IPv4 or IPv6 address of the nameserver to replay FILENAME to.
30
31 PORT if omitted, 53 will be used.
32
33 --help, -h
34 Show summary of options.
35
36 --ecs-mask <VAL>
37 When EDNS forwarding an IP address, mask out first octet with
38 this value
39
40 --ecs-stamp <FLAG>
41 Add original IP address as EDNS Client Subnet Option when for‐
42 warding to reference server
43
44 --packet-limit <NUM>
45 Stop after replaying NUM packets. Default for NUM is 0, which
46 means no limit.
47
48 --quiet <FLAG>
49 If FLAG is set to 1. dnsreplay will not be very noisy with its
50 output. This is the default.
51
52 --recursive <FLAG>
53 If FLAG is set to 1. dnsreplay will only replay queries with
54 recursion desired flag set. This is the default.
55
56 --speedup <FACTOR>
57 Replay queries with this speedup FACTOR. Default is 1.
58
59 --timeout-msec <MSEC>
60 Wait at least MSEC milliseconds for a reply. Default is 500.
61
63 dnsreplay has no certain handling for timeouts. It handles around at
64 most 65536 outstanding answers.
65
67 pcap(3PCAP), tcpdump(8), dnswasher(1)
68
70 PowerDNS.COM BV
71
73 2001-2018, PowerDNS.COM BV
74
75
76
77
784.1 Mar 22, 2019 DNSREPLAY(1)