OnWorks favicon

dnsproxy - Online in the Cloud

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

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



dnsproxy — DNS proxy


dnsproxy [-dhV] [-c file]


The dnsproxy daemon waits for nameserver queries on a user specified address, dispatches
these queries to authoritative and recursive nameservers and forwards the received answers
back to the original client.

The options are as follows:

-c file Read configuration from file.

-d Detach from current terminal and run as background process.

-h Show usage.

-V Show version.

If a client from an internal IP address does a recursive lookup the query is forwarded to a
recursive DNS server. Authoritative queries and queries coming from clients in foreign
networks are forwarded to an authoritative DNS server.


At startup dnsproxy reads a configuration file specified via the -c option or at the default
location of /etc/dnsproxy.conf.

The following keywords are recognized:

authoritative IP
Address of the authoritative nameserver [required].

recursive IP
Address of the recursive nameserver [required].

listen IP
Local address (defaults to

port number
Local port number (defaults to 53).

chroot path
A path to chroot to before starting to answer queries.

user name
A user to change to before starting to answer queries.

authoritative-timeout seconds
Time in seconds when authoritative queries time out (defaults to 10).

recursive-timeout seconds
Time in seconds when recursive queries time out (defaults to 90).

authoritative-port number
Port number on authoritative nameserver (defaults to 53).

recursive-port number
Port number on recursive nameserver (defaults to 53).

statistics seconds
Period between output of statistics (defaults to 3600). Use 0 to disable output of
statistics completely.

internal network
Declare networks recognized as internal and thus eligible to do recursive queries. One
network in CIDR notation per keyword.

recursive-port 10053
port 53
chroot /var/empty
user nobody


Every hour (by default) dnsproxy logs the collected statistics about its usage to standard
error (or syslog when running detached). Statistics look like

ActiveQr AuthorQr RecursQr AllQuery Answered
0 0 0 0 0
TimeoutQ DroppedQ DroppedA LateAnsw HashColl
0 0 0 0 0

and have the following meaning:

Number of currently active queries proxied to the servers.

Accumulated number of authoritative queries.

Accumulated number of recursive queries.

Accumulated number of all queries ever received.

Accumulated number of answered queries.

Accumulated number of queries that did not receive an answer in time.

Accumulated number of dropped queries (e.g. transmission errors).

Accumulated number of dropped answers.

Accumulated number of answers received after the timeout period.

Accumulated number of hash collisions in the query list.

Use dnsproxy online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    Download Brackets
  • 2
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 3
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 4
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 5
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 6
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    Download Music Caster
  • More »

Linux commands