From fe49776280489a3bb9405f2d7651d1b16e4fe2e6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 12 Jan 2021 10:03:51 +0000 Subject: First big batch of fixes, remove dnsfunnel-daemon, etc. --- doc/dnsfunnel-daemon.html | 115 ------------------------------------------- doc/dnsfunnel-translate.html | 6 +-- doc/dnsfunneld.html | 107 ++++++++++++++++++++++++++++------------ doc/index.html | 8 ++- 4 files changed, 81 insertions(+), 155 deletions(-) delete mode 100644 doc/dnsfunnel-daemon.html (limited to 'doc') diff --git a/doc/dnsfunnel-daemon.html b/doc/dnsfunnel-daemon.html deleted file mode 100644 index b779635..0000000 --- a/doc/dnsfunnel-daemon.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - 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. -It is the high-level entry point to invoke in scripts that want to launch -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 index 9dde27d..112a615 100644 --- a/doc/dnsfunnel-translate.html +++ b/doc/dnsfunnel-translate.html @@ -56,14 +56,12 @@ get printed to outputfile
  • -i inputfile : process inputfile. Default is /etc/resolv.conf.
  • -o outputfile : write the result to -outputfile. Default is /run/dnsfunnel-caches, or file -if the --with-cachelist=file option has been given to the -configure script at build time.
  • +outputfile. Default is /run/dnsfunnel/root/caches.
  • -x ignoredip : ignore the ignoredip IPv4 address if it shows up as a nameserver in inputfile. Default is 127.0.0.1. The point of this option is to avoid copying to outputfile the IPv4 address that the -dnsfunnel-daemon daemon will be bound to.
  • +dnsfunneld daemon will be bound to. diff --git a/doc/dnsfunneld.html b/doc/dnsfunneld.html index 006a6d6..5181db1 100644 --- a/doc/dnsfunneld.html +++ b/doc/dnsfunneld.html @@ -3,9 +3,9 @@ - dnsfunnel: the dnsfunnel-daemon program - - + dnsfunnel: the dnsfunneld program + + @@ -29,19 +29,25 @@ queries, the responses, or both.

    Interface

    -     dnsfunneld [ -v verbosity ] [ -d notif ] [ -o ops ] cachelist
    +     dnsfunneld [ -v verbosity ] [ -1 ] [ -U | -u uid -g gid ] [ -i ip:port ] [ -R root ] [ -b bufsize ] [ -T | -t ] [ -N | -n ]
     
    @@ -49,7 +55,7 @@ internally: the additional queries are invisible to clients.

    Signals

    + +

    + The other options control the activation or deactivation of various +features. See below for the detail of operations. +

    + +

    DNS forwarding behaviour