Skip to content

Commit

Permalink
Merge pull request PowerDNS#15191 from jsoref/doc-pdnsutil
Browse files Browse the repository at this point in the history
docs: link to doc:pdnsutil
  • Loading branch information
miodvallat authored Feb 21, 2025
2 parents 4bf7f40 + 8f72acb commit efda0ac
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/appendices/backend-writers-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ and such.
as 'overlay', makes the zone incompatible with some operations that
assume that a single zone is always entirely stored in the same backend.
Such operations include zone transfers, listing and editing zone content via
the API or ``pdnsutil``.
the API or :doc:`pdnsutil <pdnsutil>`.

.. warning::
When the content of a zone is spread across multiple backends, all the types
Expand Down
2 changes: 1 addition & 1 deletion docs/backends/generic-sql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ setting "disabled" to ``1`` (for PostgreSQL: ``true``). By extension,
when the SOA record for a domain is disabled, the entire domain is
considered to be disabled.

This value cannot be set with ``pdnsutil``.
This value cannot be set with :doc:`pdnsutil <pdnsutil>`.

Effects: the record (or domain, respectively) will not be visible to DNS
clients. The REST API will still see the record (or domain). Even if a
Expand Down
2 changes: 1 addition & 1 deletion docs/backends/geoip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Specifies the full path of the zone configuration file to use. The file is re-op

Specifies the full path of a directory that will contain DNSSEC keys.
This option enables DNSSEC on the backend. Keys can be created/managed
with ``pdnsutil``, and the backend stores these keys in files with key
with :doc:`pdnsutil <pdnsutil>`, and the backend stores these keys in files with key
flags and active/disabled state encoded in the key filenames.

Zonefile format
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ In addition to this cleanup, 4.0.0 brings the following new features:
- Experimental support for ed25519 DNSSEC signatures (when compiled
with libsodium support).
- IXFR consumption support.
- Many new ``pdnsutil`` commands
- Many new :doc:`pdnsutil <pdnsutil>` commands

- ``help`` command now produces the help
- Warns if the configuration file cannot be read
Expand All @@ -417,7 +417,7 @@ The following backend have been dropped in 4.0.0:

Important changes:

- ``pdnssec`` has been renamed to ``pdnsutil``
- ``pdnssec`` has been renamed to :doc:`pdnsutil <pdnsutil>`
- PowerDNS Authoritative Server now listens by default on all IPv6
addresses.
- The default for ``pdnsutil secure-zone`` has been changed from 1 2048
Expand Down
6 changes: 3 additions & 3 deletions docs/changelog/4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ Changelogs for 4.1.x

This is the second release in the 4.1 train.

This is a bug-fix only release, with fixes to the LDAP and MySQL backends, the ``pdnsutil`` tool, and PDNS internals.
This is a bug-fix only release, with fixes to the LDAP and MySQL backends, the :doc:`pdnsutil <pdnsutil>` tool, and PDNS internals.

Changes since 4.1.1:

Expand Down Expand Up @@ -643,7 +643,7 @@ Changelogs for 4.1.x
This is the third release candidate of the PowerDNS Authoritative Server in the 4.1 release train.

This release features various bug fixes and some improvements to
``pdnsutil``.
:doc:`pdnsutil <pdnsutil>`.

.. change::
:tags: Bug Fixes
Expand Down Expand Up @@ -682,7 +682,7 @@ Changelogs for 4.1.x
:pullreq: 5883
:tickets: 5853

Add ``add-meta`` command to ``pdnsutil`` that can be used to append
Add ``add-meta`` command to :doc:`pdnsutil <pdnsutil>` that can be used to append
to existing metadata without clobbering it.

.. change::
Expand Down
8 changes: 4 additions & 4 deletions docs/changelog/4.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Changelogs for 4.7.x
* lmdbbackend databases now get a UUID assigned, making it easy for external software to spot if a database was completely replaced
* lmdbbackend databases now optionally use random IDs for objects
* a new LUA function called ``ifurlextup``, and improvements in other LUA record functions
* autoprimary management in ``pdnsutil`` and the HTTP API
* autoprimary management in :doc:`pdnsutil <pdnsutil>` and the HTTP API
* in beta, a key roller daemon, currently not packaged

Please make sure to read the :doc:`upgrade notes <../upgrading>` before upgrading.
Expand Down Expand Up @@ -258,7 +258,7 @@ Changelogs for 4.7.x
* lmdbbackend databases now get a UUID assigned, making it easy for external software to spot if a database was completely replaced
* lmdbbackend databases now optionally use random IDs for objects
* a new LUA function called ``ifurlextup``, and improvements in other LUA record functions
* autoprimary management in ``pdnsutil`` and the HTTP API
* autoprimary management in :doc:`pdnsutil <pdnsutil>` and the HTTP API
* in beta, a key roller daemon, currently not packaged

Please make sure to read the :doc:`upgrade notes <../upgrading>` before upgrading.
Expand Down Expand Up @@ -320,7 +320,7 @@ Changelogs for 4.7.x
* lmdbbackend databases now get a UUID assigned, making it easy for external software to spot if a database was completely replaced
* lmdbbackend databases now optionally use random IDs for objects
* a new LUA function called ``ifurlextup``, and improvements in other LUA record functions
* autoprimary management in ``pdnsutil`` and the HTTP API
* autoprimary management in :doc:`pdnsutil <pdnsutil>` and the HTTP API

Please make sure to read the :doc:`upgrade notes <../upgrading>` before upgrading.

Expand Down Expand Up @@ -519,7 +519,7 @@ Changelogs for 4.7.x
* lmdbbackend databases now get a UUID assigned, making it easy for external software to spot if a database was completely replaced
* lmdbbackend databases now optionally use random IDs for objects
* a new LUA function called ``ifurlextup``
* autoprimary management in ``pdnsutil`` and the HTTP API
* autoprimary management in :doc:`pdnsutil <pdnsutil>` and the HTTP API

Please make sure to read the :doc:`upgrade notes <../upgrading>` before upgrading.

Expand Down
2 changes: 1 addition & 1 deletion docs/dnssec/migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ automatically.
From existing DNSSEC non-PowerDNS setups, live signing
------------------------------------------------------

The ``pdnsutil`` tool features the option to import zone keys in the
The :doc:`pdnsutil <pdnsutil>` tool features the option to import zone keys in the
industry standard private key format, version 1.2. To import an existing
KSK, use

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/basic-database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ Now, let's add a zone and some records::
This should be done as the ``pdns`` user (or root), as sqlite3 requires write access to the directory of the database file.

.. note::
``pdnsutil`` is a tool that can manipulate zones, set DNSSEC parameters for zones and does :doc:`many other <../manpages/pdnsutil.1>` things.
It is *highly* recommended to use ``pdnsutil`` or the :doc:`HTTP API <../http-api/index>` to modify zones instead of using raw SQL,
as ``pdnsutil`` and the API perform checks on the data and post-store changes to prevent issues when serving DNS data.
:doc:`pdnsutil <pdnsutil>` is a tool that can manipulate zones, set DNSSEC parameters for zones and does :doc:`many other <../manpages/pdnsutil.1>` things.
It is *highly* recommended to use :doc:`pdnsutil <pdnsutil>` or the :doc:`HTTP API <../http-api/index>` to modify zones instead of using raw SQL,
as :doc:`pdnsutil <pdnsutil>` and the API perform checks on the data and post-store changes to prevent issues when serving DNS data.

If we now requery our database, ``www.example.com`` should be present::

Expand Down
2 changes: 1 addition & 1 deletion docs/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Backend manipulation
``pdnsutil``
~~~~~~~~~~~~

To perform zone and record changes using inbuilt tools, the ``pdnsutil`` command can be used. All available options are described in the online :doc:`manual page <../manpages/pdnsutil.1>` as well as in ``man pdnsutil``.
To perform zone and record changes using inbuilt tools, the :doc:`pdnsutil <pdnsutil>` command can be used. All available options are described in the online :doc:`manual page <../manpages/pdnsutil.1>` as well as in ``man pdnsutil``.

The SysV init script
--------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you want to listen on both IPv4 and IPv6, you need to add a line with ``0.0.0
pdnsutil behaviour changes
^^^^^^^^^^^^^^^^^^^^^^^^^^

A few changes of behaviour have been implemented in ``pdnsutil``.
A few changes of behaviour have been implemented in :doc:`pdnsutil <pdnsutil>`.

* The ``add-zone-key`` command used to default to creating a ZSK,
if no key type was given. This default has changed to KSK.
Expand Down

0 comments on commit efda0ac

Please sign in to comment.