Skip to content

Commit

Permalink
Docs tweaks (not neccesarily related)
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Oct 29, 2024
1 parent b98ccba commit bf763df
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions pdns/recursordist/docs/manpages/rec_control.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions pdns/recursordist/rec_channel_rec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"};
}
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/settings/docs-old-preamble-in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit bf763df

Please sign in to comment.