-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add manual pages #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add manual pages #26
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
80df5fa
Fix sphinx default language
mozzieongit 0d5712e
Add ldns-nsec3-hash man page based on the original, and adjust the dn…
ximon18 20902bb
Update dnst-nsec3-hash.rst
ximon18 83c3b61
Add key2ds manual
mozzieongit 33732c4
Add dnst-keygen manual
mozzieongit 29852ac
Change dnst-keygen algorithms to list from table
mozzieongit d653ac6
Change dnst-keygen algorithms back to table
mozzieongit 8401f97
Add ldns-keygen manual
mozzieongit b3d63d8
Add notify manuals
mozzieongit 2690ad0
Add signzone manuals
mozzieongit a9b36da
Add subcommands to dnst manual and table of contents
mozzieongit 37fc0c1
Update dnst-nsec3-hash manual
mozzieongit 35c7bc0
Add update manual
mozzieongit 5a1b3b9
Apply feedback
mozzieongit aca6910
Apply further feedback
mozzieongit 4ec9058
Move signzone date description into own section
mozzieongit f5faebc
Update signzone hash iterations manual text
mozzieongit 7492948
Add Arguments sections
mozzieongit 7b8b5fa
Add basic intro text for dnst
mozzieongit bcfb44d
Fix ldns-signzone default nsec3 hash iterations
mozzieongit 1d32cf8
Update nse3-hash defaults and wording
mozzieongit 9d96757
Update dnst-key2ds ignore-sep and force
mozzieongit 662cf25
Update nse3-hash default to what it is currently in main
mozzieongit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| dnst key2ds | ||
| =============== | ||
|
|
||
| Synopsis | ||
| -------- | ||
|
|
||
| :program:`dnst key2ds` ``[OPTIONS]`` ``<KEYFILE>`` | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| **dnst key2ds** generates a DS RR for each DNSKEY in ``<KEYFILE>``. | ||
|
|
||
| The following file will be created for each key: ``K<name>+<alg>+<id>.ds``. The | ||
| base name ``K<name>+<alg>+<id>`` will be printed to stdout. | ||
|
|
||
|
|
||
| Options | ||
| ------- | ||
|
|
||
| .. option:: -a <NUMBER OR MNEMONIC>, --algorithm <NUMBER OR MNEMONIC> | ||
|
|
||
| Use the given algorithm for the digest. Defaults to the digest algorithm | ||
| used for the DNSKEY, and if it can't be determined SHA-1. | ||
|
|
||
| .. option:: -f, --force | ||
|
|
||
| Overwrite existing ``.ds`` files. | ||
|
|
||
| .. option:: --ignore-sep | ||
|
|
||
| Ignore the SEP flag and make DS records for any key. | ||
|
|
||
| .. option:: -n | ||
|
|
||
| Write the generated DS records to stdout instead of a file. | ||
|
|
||
| .. option:: -h, --help | ||
|
|
||
| Print the help text (short summary with ``-h``, long help with | ||
| ``--help``). | ||
|
|
||
| .. option:: -V, --version | ||
|
|
||
| Print the version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| dnst keygen | ||
| =============== | ||
|
|
||
| Synopsis | ||
| -------- | ||
|
|
||
| :program:`dnst keygen` ``[OPTIONS]`` ``-a <ALGORITHM>`` ``<DOMAIN NAME>`` | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| **dnst keygen** generates a new key pair for a given domain name. | ||
|
|
||
| The following files will be created: | ||
|
|
||
| - ``K<name>+<alg>+<tag>.key``: The public key file containing a DNSKEY RR in | ||
| zone file format. | ||
|
|
||
| - ``K<name>+<alg>+<tag>.private``: The private key file containing the private | ||
| key data fields in BIND's *Private-key-format*. | ||
|
|
||
| - ``K<name>+<alg>+<tag>.ds``: The public key digest file containing the DS RR | ||
| in zone file format. It is only created for key signing keys. | ||
|
|
||
| | ``<name>`` is the fully-qualified owner name for the key (with a trailing dot). | ||
| | ``<alg>`` is the algorithm number of the key, zero-padded to 3 digits. | ||
| | ``<tag>`` is the 16-bit tag of the key, zero-padded to 5 digits. | ||
|
|
||
| Upon completion, ``K<name>+<alg>+<tag>`` will be printed. | ||
|
|
||
| Options | ||
| ------- | ||
|
|
||
| .. option:: -a <NUMBER OR MNEMONIC> | ||
|
|
||
| Use the given signing algorithm. | ||
|
|
||
| Possible values are: | ||
|
|
||
| =================== ========== ========================= | ||
| **Mnemonic** **Number** **Description** | ||
| =================== ========== ========================= | ||
| ``list`` List available algorithms | ||
|
mozzieongit marked this conversation as resolved.
|
||
| ``RSASHA256`` 8 RSA with SHA-256 | ||
| ``ECDSAP256SHA256`` 13 ECDSA P-256 with SHA-256 | ||
| ``ECDSAP384SHA384`` 14 ECDSA P-384 with SHA-384 | ||
| ``ED25519`` 15 ED25519 | ||
| ``ED448`` 16 ED448 | ||
| =================== ========== ========================= | ||
|
|
||
| .. option:: -k | ||
|
|
||
| Generate a key signing key (KSK) instead of a zone signing key (ZSK). | ||
|
|
||
| .. option:: -b <BITS> | ||
|
|
||
| The length of the key (for RSA keys only). Defaults to 2048. | ||
|
|
||
| .. option:: -r <DEVICE> | ||
|
|
||
| The randomness source to use for generation. Defaults to ``/dev/urandom``. | ||
|
|
||
| .. option:: -s | ||
|
|
||
| Create symlinks ``.key`` and ``.private`` to the generated keys. | ||
|
|
||
| .. option:: -f | ||
|
|
||
| Overwrite existing symlinks (for use with ``-s``). | ||
|
|
||
| .. option:: -h, --help | ||
|
|
||
| Print the help text (short summary with ``-h``, long help with | ||
| ``--help``). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| dnst notify | ||
| =============== | ||
|
|
||
| Synopsis | ||
| -------- | ||
|
|
||
| :program:`dnst notify` ``[OPTIONS]`` ``-z <ZONE>`` ``<SERVERS>...`` | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| **dnst notify** sends a NOTIFY message to the specified name servers. A name | ||
| server can be specified as a domain name or IP address. | ||
|
|
||
| This tells them that an updated zone is available at the primaries. It can | ||
| perform TSIG signatures, and it can add a SOA serial number of the updated | ||
| zone. If a server already has that serial number it will disregard the message. | ||
|
|
||
| Options | ||
| ------- | ||
|
|
||
| .. option:: -z <ZONE> | ||
|
|
||
| The zone to send the NOTIFY for. | ||
|
|
||
| .. option:: -s <SOA VERSION> | ||
|
|
||
| SOA version number to include in the NOTIFY message. | ||
|
|
||
| .. option:: -y, --tsig <NAME:KEY[:ALGO]> | ||
|
|
||
| A base64 TSIG key and optional algorithm to use for the NOTIFY message. | ||
| The algorithm defaults to **hmac-sha512**. | ||
|
|
||
| .. option:: -p, --port <PORT> | ||
|
|
||
| Destination port to send the UDP packet to. Defaults to 53. | ||
|
|
||
| .. option:: -d, --debug | ||
|
|
||
| Print debug information. | ||
|
|
||
| .. option:: -r, --retries <RETRIES> | ||
|
|
||
| Max number of retries. Defaults to 15. | ||
|
|
||
| .. option:: -h, --help | ||
|
|
||
| Print the help text (short summary with ``-h``, long help with | ||
| ``--help``). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,39 @@ | ||
| dnst-nsec3-hash | ||
| dnst nsec3-hash | ||
| =============== | ||
|
|
||
| Synopsis | ||
| -------- | ||
|
|
||
| :program:`dnst nsec3-hash` [``options``] :samp:`domain-name` | ||
| :program:`dnst nsec3-hash` ``[OPTIONS]`` ``<DOMAIN NAME>`` | ||
|
|
||
| Description | ||
| ----------- | ||
|
|
||
| **dnst nsec3-hash** prints the NSEC3 hash for the given domain name. | ||
| **dnst nsec3-hash** prints the NSEC3 hash of a given domain name. | ||
|
|
||
| Options | ||
| ------- | ||
|
|
||
| .. option:: -a number-or-mnemonic, --algorithm=number-or-mnemonic | ||
| .. option:: -a <NUMBER OR MNEMONIC>, --algorithm <NUMBER OR MNEMONIC> | ||
|
|
||
| Use the given algorithm number for the hash calculation. Defaults to | ||
| ``sha1``. | ||
| 1 (SHA-1). | ||
|
|
||
| .. option:: -s salt, --salt=count | ||
| .. option:: -i <NUMBER>, -t <NUMBER>, --iterations <NUMBER> | ||
|
|
||
| Use the given number of additional iterations for the hash | ||
| calculation. Defaults to 1. | ||
|
|
||
| .. option:: -s <HEX STRING>, --salt <HEX STRING> | ||
|
|
||
| Use the given salt for the hash calculation. The salt value should be | ||
| in hexadecimal format. | ||
| in hexadecimal format. Defaults to an empty salt. | ||
|
|
||
| .. option:: -h, --help | ||
|
|
||
| .. option:: -i count, -t count, --iterations=count | ||
| Print the help text (short summary with ``-h``, long help with | ||
| ``--help``). | ||
|
|
||
| Use *count* iterations for the hash calculation. | ||
| .. option:: -V, --version | ||
|
|
||
| Print the version. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.