if HAVE_VIRTUALENV
if !HAVE_MANPAGES
-$(MANPAGES): %.1: docs/manpages/%.rst .venv
+$(MANPAGES): %: docs/manpages/%.rst .venv
.venv/bin/python -msphinx -b man docs . $<
endif # if !HAVE_MANPAGES
# The short X.Y version.
version = '4.1'
# The full version, including alpha/beta/rc tags.
-release = '4.1.0-alpha1'
+#release = '4.1.0-alpha1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('manpages/rec_control', 'rec_control', 'Command line tool to control a running Recursor', [author], 1),
- ('manpages/pdns_recursor', 'pdns_recursor', 'The PowerDNS Recursor binary', [author], 1)
+ ('manpages/rec_control.1', 'rec_control', 'Command line tool to control a running Recursor', [author], 1),
+ ('manpages/pdns_recursor.1', 'pdns_recursor', 'The PowerDNS Recursor binary', [author], 1)
]
Runtime Configuration of Trust Anchors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-To change or add trust anchors at runtime, use the :doc:`manpages/rec_control` tool.
+To change or add trust anchors at runtime, use the :doc:`manpages/rec_control.1` tool.
These runtime settings are not saved to disk.
To make them permanent, they should be added to the :ref:`setting-lua-config-file` as described above.
Runtime Configuration of Negative Trust Anchors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The :doc:`manpages/rec_control` command can be used to manage the negative trust anchors of a running instance.
+The :doc:`manpages/rec_control.1` command can be used to manage the negative trust anchors of a running instance.
These runtime settings are lost when restarting the recursor, more permanent NTAs should be added to the :ref:`setting-lua-config-file` with ``addNTA()``.
Adding a negative trust anchor is done with the ``add-nta`` command (that optionally accepts a reason):
dns64
security
settings
- manpages/*
+ manpages/index
security-advisories/index
upgrade
changelog/index
--- /dev/null
+Manual Pages
+============
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *.1
-pdns_recursor manual page
-=======================
+pdns_recursor
+=============
Synopsis
--------
-rec_control manual page
-=======================
+rec_control
+===========
Synopsis
--------
Using ``rec_control``
^^^^^^^^^^^^^^^^^^^^^
-Metrics can also be gathered on the system itself by invoking :doc:`rec_control <manpages/rec_control>`::
+Metrics can also be gathered on the system itself by invoking :doc:`rec_control <manpages/rec_control.1>`::
rec_control get-all
missing_elements=""
for element in $elements; do
- grep -q -e "^$element" ../pdns/recursordist/docs/manpages/rec_control.rst || missing_elements="$element\n$missing_elements"
+ grep -q -e "^$element" ../pdns/recursordist/docs/manpages/rec_control.1.rst || missing_elements="$element\n$missing_elements"
done
if [ "x$missing_elements" != "x" ]; then