EnglishFrenchSpanish

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

PROGRAM:

NAME


dnsproxy — DNS proxy

SYNOPSIS


dnsproxy [-dhV] [-c file]

DESCRIPTION


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.

CONFIGURATION FILE


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

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.

EXAMPLE
authoritative 10.1.1.1
recursive 127.0.0.1
recursive-port 10053
listen 192.168.1.1
port 53
chroot /var/empty
user nobody
internal 192.168.1.0/24
internal 127.0.0.1

STATISTICS


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:

ActiveQr
Number of currently active queries proxied to the servers.

AuthorQr
Accumulated number of authoritative queries.

RecursQr
Accumulated number of recursive queries.

AllQuery
Accumulated number of all queries ever received.

Answered
Accumulated number of answered queries.

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

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

DroppedA
Accumulated number of dropped answers.

LateAnsw
Accumulated number of answers received after the timeout period.

HashColl
Accumulated number of hash collisions in the query list.

Use dnsproxy online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 2
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 3
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 4
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 5
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 6
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • More »

Linux commands

Ad