]> granicus.if.org Git - pdns/commitdiff
ixfrdist: add manpage
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 19 Jan 2018 15:20:42 +0000 (16:20 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 29 Jan 2018 08:20:15 +0000 (09:20 +0100)
docs/Makefile.am
docs/conf.py
docs/manpages/ixfrdist.1.rst [new file with mode: 0644]

index e5435432f8bc59dd429557183364af19267b6964..1ec5d8766b450909d3d5f4b86312f6359a0fece9 100644 (file)
@@ -15,6 +15,7 @@ MANPAGES_TARGET_TOOLS = calidns.1 \
        dnsscope.1 \
        dnswasher.1 \
        dumresp.1 \
+       ixfrdist.1 \
        ixplore.1 \
        nproxy.1 \
        nsec3dig.1 \
index 6ee0e1f2a33c3f7a71020dc7a87f9cfe9a7f1c9b..899d8e186dd74ff001a2f63ec5df4ae50b4d636d 100644 (file)
@@ -177,6 +177,7 @@ descriptions = {
     'dnstcpbench': 'tool to perform TCP benchmarking of nameservers',
     'dnswasher': 'A PowerDNS nameserver debugging tool',
     'dumresp': 'A dumb DNS responder',
+    'ixfrdist': 'An IXFR/AXFR-only server that re-distributes zones',
     'ixplore': 'A tool that provides insights into IXFRs',
     'nsec3dig': 'Show and validate NSEC3 proofs',
     'pdns_control': 'Control the PowerDNS nameserver',
diff --git a/docs/manpages/ixfrdist.1.rst b/docs/manpages/ixfrdist.1.rst
new file mode 100644 (file)
index 0000000..5539950
--- /dev/null
@@ -0,0 +1,39 @@
+ixfrdist
+========
+
+Synopsis
+--------
+
+:program:`ixfrdist` [*OPTION*]... *DOMAIN* [*DOMAIN*]...
+
+Description
+-----------
+
+:program:`ixfrdist` transfers zones from an authoritative server and re-serves these zones over AXFR and IXFR.
+It checks the SOA serial for all *DOMAIN*\ s from the server set with **--server-address** and downloads new versions to **--work-dir**.
+This working directory has the following structure: ``work-dir/ZONE/SERIAL``, e.g. ``work-dir/rpz.example./2018011902``.
+
+When a SOA query comes in on the address(es) set with **--listen-address**, :program:`ixfrdist` responds with the latest SOA for the zone it has.
+This query can be followed up with an IXFR or AXFR query, which will then be served.
+Should an IXFR be served, :program:`ixfrdist` will condense the diff into the IXFR.
+
+Options
+-------
+
+--help       Show all supported options
+--verbose    Log INFO messages
+--debug      Log INFO and DEBUG messages
+--version    Display the version of ixfrdist
+--listen-address <ADDRESS>      Listen on *ADDRESS* for incoming queries.
+                                *ADDRESS* may contain a port number, when unset 53 is assumed.
+                                This option can be given multiple times.
+                                When not set, 127.0.0.1:53 is assumed.
+--server-address <ADDRESS>      IP address and port of the upstream server.
+                                127.0.0.1:5300 by default.
+--work-dir <DIR>                Path to a directory where the AXFR data are saved.
+                                By default, this is the current working directory.
+
+See also
+--------
+
+ixplore(1), pdns_server(1)