EnglishFrenchSpanish

Ad


OnWorks favicon

dnstcpbench - Online in the Cloud

Run dnstcpbench in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dnstcpbench that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dnstcpbench - tool to perform TCP benchmarking of nameservers

SYNOPSIS


dnstcpbench [OPTION]... REMOTE-ADDRESS [REMOTE-PORT]

DESCRIPTION


dnstcpbench 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 | --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.

Use dnstcpbench online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands

Ad