DNSTCPBENCH - Online Linux Manual PageSection : 1
Updated : Feb 06, 2021
Source :
Note : PowerDNS Authoritative Server
NAMEdnstcpbench − tool to perform TCP benchmarking of nameservers
SYNOPSISdnstcpbench [OPTION]... REMOTE−ADDRESS [REMOTE−PORT]
DESCRIPTIONdnstcpbench reads DNS queries (by default from standard input) and sends them out in parallel to a remote nameserver. By default TCP/IP is used, but optionally, UDP is tried first, which allows for the benchmarking of TCP/IP fallback. The program reports both mean and median numbers for queries per second and UDP and TCP latency. Each query only counts once, even if it is tried over UDP first. This effectively means that passing '−u' can lower query rates if many queries get shunted to TCP. The input format is one query per line: qname single−space qtype. An example: www.powerdns.com ANY
When benchmarking extended runs, it may be necessary to enable TIME_WAIT recycling, as TCP/IP port tuples may otherwise run out. On Linux this is performed by running: echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
The equivalent for IPv6 is not known.
OPTIONS−f, <FILENAME>, −−file <FILENAME> FILENAME from which to read queries. Defaults to standard input if unspecified. −h, −−help Provide a helpful message. −−timeout−msec <MSEC> MSEC milliseconds to wait for an answer. −u, −−udp−first Attempt resolution via UDP first, only do TCP if truncated answer is received. −v, −−verbose Be wordy on what the program is doing. −−workers <NUM> Use NUM parallel worker threads. REMOTE−ADDRESS: IPv4 or IPv6 to test against. REMOTE−PORT: Port to test against, defaults to 53.
BUGSCurrently the timeout code does not actually perform non−blocking connects or writes. So a slow connect or slow writes will still cause low performance and delays. Median queries per second statistics are reported as 0 for sub−second runs.
AUTHORPowerDNS.COM BV
COPYRIGHT2001-2019, PowerDNS.COM BV 0
Johanes Gumabo
Data Size : 7,345 byte
man-dnstcpbench.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 189,332
Visitor ID : :
Visitor IP : 18.117.101.7 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.