OnWorks favicon

dnsdist - Online in the Cloud

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

This is the command dnsdist 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



dnsdist - tool to balance DNS queries over downstream servers


dnsdist [OPTION]... ADDRESS...


dnsdist receives DNS queries and relays them to one or more downstream servers. It
subsequently sends back responses to the original requestor.

dnsdist operates over TCP and UDP, and strives to deliver very high performance over both.

Currently, queries are sent to the downstream server with the least outstanding queries.
This effectively implies load balancing, making sure that slower servers get less queries.

If a reply has not come in after a few seconds, it is removed from the queue, but in the
short term, timeouts do cause a server to get less traffic.

IPv4 and IPv6 operation can be mixed and matched, in other words, queries coming in over
IPv6 could be forwarded to IPv4 and vice versa.

dnsdist is scriptable in Lua, see the dnsdist documentation for more information on this.


dnsdist does not 'think' about DNS, and does not perform any kind of caching, nor is it
aware of the quality of the answers it is relaying.

dnsdist assumes that each query leads to exactly one response, which is true for all DNS
except for AXFR, which is therefore not supported.

The goal for dnsdist is to remain simple. If more powerful loadbalancing is required,
dedicated hardware or software is recommended. Linux Virtual Server for example is often


-a,--acl NETMASK
Add NETMASK to the ACL.

-C,--config FILE
Load configuration from FILE.

Operate as a client, connect to dnsdist.

Operate as a daemon.

-e,--execute CMD
Connect to dnsdist and execute CMD.

Display a helpful message and exit.

-l,--local ADDRESS
Bind to ADDRESS, Supply as many addresses (using multiple --local statements) to
listen on as required. Specify IPv4 as and IPv6 as [::]:53.

Run in foreground, but do not spawn a console. Use this switch to run dnsdist
inside a supervisor (use with e.g. systemd and daemontools).

-p,--pidfile FILE
Write a pidfile to FILE, works only with --daemon.

-u,--uid UID
Change the process user to UID after binding sockets. UID can be a name or number.

-g,--gid GID
Change the process group to GID after binding sockets. GID Can be a name or

Show the dnsdist version and exit.

Any number of downstream DNS servers, in the same syntax as used with --local. If
the port is not specified, 53 is used.

Use dnsdist online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    TurkDevOps a?k kaynak yaz?l?m
    geli?tirici topluluklar? DevTurks-Team
    Taraf?ndan desteklenmektedir..
    Download turkdevops
  • 2
    Wine is an Open Source implementation
    of the Windows API on top of X and Unix.
    Wine provides both a development toolkit
    for porting Windows sources to Unix and...
    Download Wine
  • 3
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 4
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 5
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 6
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 7
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • More »

Linux commands