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:
parent
1dcc34f076
commit
915237a28f
@ -347,7 +347,9 @@ The :iscman:`dnssec-keygen` program is used to generate keys.
|
||||
The following command generates an ECDSAP256SHA256 key for the
|
||||
``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
|
||||
``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
|
||||
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
|
||||
should be referenced by :iscman:`named.conf` as the input file for the zone.
|
||||
|
Loading…
x
Reference in New Issue
Block a user