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