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



dnstcpbench - tool to perform TCP benchmarking of nameservers




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

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.


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

IPv4 or IPv6 to test against.

Port to test against, defaults to 53.

Use dnstcpbench online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 4
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    Weaviate in a nutshell: Weaviate is a
    vector search engine and vector
    database. Weaviate uses machine learning
    to vectorize and store data, and to find
    Download Weaviate
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands