KXDPGUN(8) Knot DNS KXDPGUN(8) (NAME) kxdpgun - DNS XDP (SYNOPSIS) kxdpgun [] -i _ (DESCRIPTION) DNS XDP . . . ( ) . . (Parameters) _ . . IPv4 IPv6 . (Options) -t, --duration ( ). -T, --tcp[=_] TCP. . -U, --quic[=_] QUIC. . -Q, --qps ( ). . ( Rx/Tx) . -b, --batch . QPS ( UDP TCP/QUIC ). -r, --drop . QPS . -p, --port ( UDP/TCP QUIC ). -F, --affinity _ (CPU affinity) [][s] CPU CPU ( 0s1 ). -i, --infile _ . -B, --binary . DNS TCP . ( ) (wire format) . -I, --interface . (bond) . -l, --local _[/] IP . IP ( QUIC ). -L, --mac-local MAC . -R, --mac-remote MAC . -v, --vlan VLAN 802.1Q . VLAN offloading . -e, --edns-size EDNS UDP ( ). XDP MTU . -m, --mode XDP. : o auto () - XDP (native) zero-copy . o copy - XDP zero-copy . . o generic - XDP . . -G, --qlog qlog . . QUIC . --quic=R QPS . -j, --json JSON. -S, --stats-period . . -h, --help . -V, --version . -VV . (Queries file format) : _ _ [] _ _ : E EDNS. D DNSSEC ( EDNS DO). TCP/QUIC (TCP/QUIC debug modes) 0 (handshake) ( QUIC). 1 SYN (Initial) SYN-ACK (Handshake). 2 TCP/QUIC . 3 TCP/QUIC . 5 (N-1 ) . 7 (ACK) . 8 . 9 ACK FIN+ACK ( TCP). R . (Signals) USR1 . -S . (NOTES) . (root) : CAP_NET_RAW CAP_NET_ADMIN CAP_SYS_ADMIN CAP_IPC_LOCK CAP_SYS_RESOURCE ( ). UDP/TCP . QUIC Mellanox/NVIDIA ethtool -X xfrm none . . . . (EXIT VALUES) . . (EXAMPLES) : abc6.example.com. AAAA nxdomain.example.com. A notzone. A a.example.com. NS E ab.example.com. A D abcd.example.com. DS D () ( Knot DNS): cat ZONE_FILE | awk "{print \,\}" | grep -E "(NS|DS|A|AAAA|PTR|MX|SOA)$" | sort -u -R > queries.txt : # kxdpgun -i ~/queries.txt 2001:DB8::1 UDP : # kxdpgun -t 20 -Q 1000000 -i ~/queries.txt -b 20 -p 8853 192.0.2.1 TCP: # kxdpgun -t 20 -Q 100000 -i ~/queries.txt -T -p 8853 192.0.2.1 (SEE ALSO) kdig(1). (AUTHOR) CZ.NIC, z.s.p.o. and contributors (COPYRIGHT) Copyright (C) CZ.NIC, z.s.p.o. and contributors 3.5.5 2026-06-12 KXDPGUN(8)