2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Use code-block directive for complete command lines

Minor rendering nit, not really important.
This commit is contained in:
Petr Špaček 2022-06-16 13:13:03 +02:00 committed by Matthijs Mekking
parent 1dcc34f076
commit 915237a28f

View File

@ -347,7 +347,9 @@ The :iscman:`dnssec-keygen` program is used to generate keys.
The following command generates an ECDSAP256SHA256 key for the The following command generates an ECDSAP256SHA256 key for the
``child.example`` zone: ``child.example`` zone:
``dnssec-keygen -a ECDSAP256SHA256 -n ZONE child.example.`` .. code-block:: shell
dnssec-keygen -a ECDSAP256SHA256 -n ZONE child.example.
Two output files are produced: ``Kchild.example.+013+12345.key`` and Two output files are produced: ``Kchild.example.+013+12345.key`` and
``Kchild.example.+013+12345.private``. Structure of the file names is described ``Kchild.example.+013+12345.private``. Structure of the file names is described
@ -376,7 +378,9 @@ By default, all zone keys which have an available private key are used
to generate signatures. The following command signs the zone, assuming to generate signatures. The following command signs the zone, assuming
it is in a file called ``zone.child.example``: it is in a file called ``zone.child.example``:
``dnssec-signzone -o child.example zone.child.example`` .. code-block:: shell
dnssec-signzone -o child.example zone.child.example
One output file is produced: ``zone.child.example.signed``. This file One output file is produced: ``zone.child.example.signed``. This file
should be referenced by :iscman:`named.conf` as the input file for the zone. should be referenced by :iscman:`named.conf` as the input file for the zone.