From fab29b78d87d0114ecbdfbcac3b0e7c0edb463ba Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Dec 2020 22:09:00 +0000 Subject: Initial commit --- doc/dnsfunnel-daemon.html | 112 ++++++++++++++++++++++++++++++ doc/dnsfunnel-translate.html | 70 +++++++++++++++++++ doc/dnsfunneld.html | 160 +++++++++++++++++++++++++++++++++++++++++++ doc/index.html | 116 +++++++++++++++++++++++++++++++ doc/upgrade.html | 28 ++++++++ 5 files changed, 486 insertions(+) create mode 100644 doc/dnsfunnel-daemon.html create mode 100644 doc/dnsfunnel-translate.html create mode 100644 doc/dnsfunneld.html create mode 100644 doc/index.html create mode 100644 doc/upgrade.html (limited to 'doc') diff --git a/doc/dnsfunnel-daemon.html b/doc/dnsfunnel-daemon.html new file mode 100644 index 0000000..d93d463 --- /dev/null +++ b/doc/dnsfunnel-daemon.html @@ -0,0 +1,112 @@ + + + + + + dnsfunnel: the dnsfunnel-daemon program + + + + + + +

+dnsfunnel
+Software
+skarnet.org +

+ +

The dnsfunnel-daemon program

+ +

+dnsfunnel-daemon binds to a local UDP socket, drops its +privileges, then executes into dnsfunneld. +

+ +

Interface

+ +
+     dnsfunnel-daemon [ -v verbosity ] [ -d notif ] [ -U | -u uid -g gid ] [ -i ip:port ] [ -R root ] [ -b bufsize ] [ -f cachelist ] [ -T | -t ] [ -N | -n ]
+
+ + + +

+ The point of dnsfunnel-daemon is to separate the administrative +operations of starting a daemon from the actual serving part, which is +handled by dnsfunneld. +

+ +

Exit codes

+ + + +

Options

+ + + +

+ The other options control the activation or deactivation of various +dnsfunneld features: +

+
  • -T : Do not activate truncation of responses. This is +the default.
  • +
  • -t : If a DNS response is bigger than 510 bytes, +truncate its last resource records until it fits into 510 bytes and can +be sent in a UDP packet.
  • +
  • -N : Do not activate nxdomain workaround. This is the +default.
  • +
  • -n : Activate nxdomain workaround. When receiving an A +(resp. AAAA) query to forward, also make an AAAA (resp. A) query, and adjust +the response accordingly. Some DNS servers incorrectly answer NXDOMAIN when +they should just answer NODATA, and querying for another, existing, record +type for the same domain allows dnsfunneld to tell the difference between a +real NXDOMAIN (in which case that response is forwarded to the client) and +an incorrect one (in which case NODATA is answered to the client instead).
  • +
  • Other options may be added in the future.
  • + + + + diff --git a/doc/dnsfunnel-translate.html b/doc/dnsfunnel-translate.html new file mode 100644 index 0000000..9dde27d --- /dev/null +++ b/doc/dnsfunnel-translate.html @@ -0,0 +1,70 @@ + + + + + + dnsfunnel: the dnsfunnel-translate program + + + + + + +

    +dnsfunnel
    +Software
    +skarnet.org +

    + +

    The dnsfunnel-translate program

    + +

    +dnsfunnel-translate translates a file in resolv.conf +format to a file in dnsfunneld format. +

    + +

    Interface

    + +
    +     dnsfunnel-translate [ -i inputfile ] [ -o outputfile ] [ -x ignoredip ]
    +
    + + + +

    Exit codes

    + + + +

    Options

    + + + + + diff --git a/doc/dnsfunneld.html b/doc/dnsfunneld.html new file mode 100644 index 0000000..006a6d6 --- /dev/null +++ b/doc/dnsfunneld.html @@ -0,0 +1,160 @@ + + + + + + dnsfunnel: the dnsfunnel-daemon program + + + + + + +

    +dnsfunnel
    +Software
    +skarnet.org +

    + +

    The dnsfunneld program

    + +

    +dnsfunneld is a small DNS forwarder daemon. It receives +DNS queries from clients, then forwards them to one or more DNS caches. +It collects the responses and forwards them back to the clients. Depending +on the options it is given, it may perform light processing on the +queries, the responses, or both. +

    + +

    Interface

    + +
    +     dnsfunneld [ -v verbosity ] [ -d notif ] [ -o ops ] cachelist
    +
    + + + +

    Signals

    + + + +

    Exit codes

    + + + +

    Options

    + + + +

    DNS forwarding behaviour

    + + + +

    dnsfunneld operations

    + +

    + ops is an integer used as a bitfield. Depending on which bits are set, +various operations are performed on queries or answers, slightly modifying the +behaviour described above. +

    + + + +

    Notes

    + + + + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..fe8e8d4 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,116 @@ + + + + + + dnsfunnel - A small local DNS cache daemon + + + + + + +

    +Software
    +skarnet.org +

    + +

    dnsfunnel

    + +

    What is it ?

    + +

    + dnsfunnel is a small daemon listening to DNS client requests over UDP +(typically from the libc's +getaddrinfo() +function) and forwards them to a list of DNS caches. It provides the +client with the first answer it gets, trimming the answer so it fits +in an UDP packet. +

    + +

    + dnsfunnel is especially useful for distributions using the +musl libc, which does not support +TCP DNS transport. It was originally written to be used in the +Alpine Linux distribution. +

    + +
    + +

    Installation

    + +

    Requirements

    + + + +

    Licensing

    + +

    + dnsfunnel is free software. It is available under the +ISC license. +

    + +

    Download

    + + + +

    Compilation

    + + + +

    Upgrade notes

    + + + +
    + +

    Reference

    + +

    Commands

    + + + +

    Related resources

    + + + + + diff --git a/doc/upgrade.html b/doc/upgrade.html new file mode 100644 index 0000000..6b46bde --- /dev/null +++ b/doc/upgrade.html @@ -0,0 +1,28 @@ + + + + + + dnsfunnel: how to upgrade + + + + + + +

    +dnsfunnel
    +Software
    +skarnet.org +

    + +

    What has changed in dnsfunnel

    + +

    in 0.0.1.0

    + + + + + -- cgit v1.2.3