]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsreplay: Document the source-ip and source-port options
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Nov 2022 15:26:07 +0000 (16:26 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Nov 2022 15:26:07 +0000 (16:26 +0100)
docs/manpages/dnsreplay.1.rst

index 42de1d1281eb8c462fb937ea057018573cff5747..0223690371da2a092159765fa6dc3f3f571c68df 100644 (file)
@@ -33,17 +33,21 @@ PORT
 --ecs-mask <VAL>          When EDNS forwarding an IP address, mask out first octet with this value
 --ecs-stamp <FLAG>        Add original IP address as EDNS Client Subnet Option when 
                           forwarding to reference server
---pcap-dns-port <VAL>     Look at packets from or to this port in the PCAP. Default is 53.
 --packet-limit <NUM>      Stop after replaying *NUM* packets. Default for *NUM* is 0, which
                           means no limit.
+--pcap-dns-port <VAL>     Look at packets from or to this port in the PCAP. Default is 53.
 --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.
 --source-from-pcap <FLAG> If *FLAG* is set to 1. dnsreplay will send the replayed queries from the
-                          source IP address present in the PCAP file. This requires IP_TRANSPARENT
-                          support. Default is 0 which means replayed queries will be sent from a
-                          local address.
+                          source IP address and port present in the PCAP file. This requires
+                          IP_TRANSPARENT support. Default is 0 which means replayed queries will be
+                          sent from a local address.
+--source-ip <VAL>         Send the replayed queries from the source IP specified in *VAL*. Default
+                          is to send send them from a local address.
+--source-port <VAL>       Send the replayed queries from the source port specified in *VAL*.
+                          Default is to send from a random port selected by the kernel.
 --speedup <FACTOR>        Replay queries with this speedup *FACTOR*. Default is 1.
 --timeout-msec <MSEC>     Wait at least *MSEC* milliseconds for a reply. Default is 500.