]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Docs tweaks (not neccesarily related)
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 29 Oct 2024 10:09:53 +0000 (11:09 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 4 Nov 2024 11:46:47 +0000 (12:46 +0100)
pdns/recursordist/docs/manpages/rec_control.1.rst
pdns/recursordist/docs/upgrade.rst
pdns/recursordist/rec_channel_rec.cc
pdns/recursordist/settings/docs-old-preamble-in.rst

index da6057d8bc08c7b196a1a9090d805c31f51ea113..53bf48854318e9c6b88333006094ad980208cf99 100644 (file)
@@ -48,6 +48,8 @@ Options
                       control.
 --timeout=<num>       Number of seconds to wait for the remote PowerDNS
                       Recursor to respond.
+--version             Show the version number of this program. Note that the **version**
+                      command shows the version of the running recursor.
 
 Commands
 --------
@@ -179,7 +181,7 @@ hash-password [*WORK-FACTOR*]
 
 help
     Shows a list of supported commands understood by the running
-    :program:`pdns_recursor`
+    :program:`pdns_recursor`.
 
 list-dnssec-algos
     List supported (and potentially disabled) DNSSEC algorithms.
@@ -329,7 +331,7 @@ unload-lua-script
     Unloads Lua script if one was loaded.
 
 version
-    Report running version.
+    Report the version of the running Recursor.
 
 wipe-cache *DOMAIN* [*DOMAIN*] [...]
     Wipe entries for *DOMAIN* (exact name match) from the cache. This is useful
index 0cf825a6122db945265a1d96302399afe5ba024e..967e45f3f4f61402313c144090bf074a55c57055 100644 (file)
@@ -10,7 +10,7 @@ When upgrading several versions, please read **all** notes applying to the upgra
 Changed behaviour
 ^^^^^^^^^^^^^^^^^
 Parsing of old-style settings is no longer enabled by default.
-Convert to YAML or pass ``--enable-old-settings` on the command line.
+Convert yor settings file to YAML (see :doc:`appendices/yamlconversion`) or pass ``--enable-old-settings`` on the command line.
 
 The way :ref:`setting-yaml-incoming.max_tcp_clients` is enforced has changed.
 If there are too many incoming TCP connections, new connections will be accepted but then closed immediately.
index dbbfecb01322d2ff4ae493faa57b9178efedeb5d..86d3b906b3da83da347996c1b9ebf6377551a5c5 100644 (file)
@@ -1886,14 +1886,14 @@ static RecursorControlChannel::Answer help()
           "                                 notice: queries from cache aren't being counted yet\n"
           "get-remotelogger-stats           get remote logger statistics\n"
           "hash-password [work-factor]      ask for a password then return the hashed version\n"
-          "help                             get this list\n"
+          "help                             get this list (from the runnig recursor)\n"
           "list-dnssec-algos                list supported DNSSEC algorithms\n"
           "ping                             check that all threads are alive\n"
           "quit                             stop the recursor daemon\n"
           "quit-nicely                      stop the recursor daemon nicely\n"
           "reload-acls                      reload ACLS\n"
           "reload-lua-script [filename]     (re)load Lua script\n"
-          "reload-lua-config [filename]     (re)load Lua configuration file\n"
+          "reload-lua-config [filename]     (re)load Lua configuration file or equivalent YAML clauses\n"
           "reload-zones                     reload all auth and forward zones\n"
           "set-ecs-minimum-ttl value        set ecs-minimum-ttl-override\n"
           "set-max-aggr-nsec-cache-size value set new maximum aggressive NSEC cache size\n"
@@ -1917,7 +1917,7 @@ static RecursorControlChannel::Answer help()
           "top-servfail-remotes             show top remotes receiving servfail answers\n"
           "top-bogus-remotes                show top remotes receiving bogus answers\n"
           "unload-lua-script                unload Lua script\n"
-          "version                          return Recursor version number\n"
+          "version                          return version number of running Recursor\n"
           "wipe-cache domain0 [domain1] ..  wipe domain data from cache\n"
           "wipe-cache-typed type domain0 [domain1] ..  wipe domain data with qtype from cache\n"};
 }
index e3f12a5be352237d807b44bae9aceb498855102d..ded23b8a8b710239a1750cd7a335f8880444e112 100644 (file)
@@ -6,7 +6,7 @@ The command line overrides the configuration file.
 .. note::
    Starting with version 5.0.0, :program:`Recursor` supports a new YAML syntax for configuration files.
    A configuration using the old style syntax can be converted to a YAML configuration using the instructions in :doc:`appendices/yamlconversion`.
-   Starting with version 5.2.0, parsing of old-style settings must be explicitly enabled using a command line argument ``--enable-old-settings`.
+   Starting with version 5.2.0, parsing of old-style settings must be explicitly enabled using a command line argument ``--enable-old-settings``.
    In a future release support for the old-style settings described here will be dropped.
    See :doc:`yamlsettings` for details.