| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "NSEC3HASH" "1" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9" |
| 32 |
.SH NAME |
| 33 |
nsec3hash \- generate NSEC3 hash |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBnsec3hash\fP {salt} {algorithm} {iterations} {domain} |
| 37 |
.sp |
| 38 |
\fBnsec3hash\fP \fB\-r\fP {algorithm} {flags} {iterations} {salt} {domain} |
| 39 |
.SH DESCRIPTION |
| 40 |
.sp |
| 41 |
\fBnsec3hash\fP generates an NSEC3 hash based on a set of NSEC3 |
| 42 |
parameters. This can be used to check the validity of NSEC3 records in a |
| 43 |
signed zone. |
| 44 |
.sp |
| 45 |
If this command is invoked as \fBnsec3hash \-r\fP, it takes arguments in |
| 46 |
order, matching the first four fields of an NSEC3 record followed by the |
| 47 |
domain name: \fBalgorithm\fP, \fBflags\fP, \fBiterations\fP, \fBsalt\fP, \fBdomain\fP\&. This makes it |
| 48 |
convenient to copy and paste a portion of an NSEC3 or NSEC3PARAM record |
| 49 |
into a command line to confirm the correctness of an NSEC3 hash. |
| 50 |
.SH ARGUMENTS |
| 51 |
.INDENT 0.0 |
| 52 |
.TP |
| 53 |
.B salt |
| 54 |
This is the salt provided to the hash algorithm. |
| 55 |
.UNINDENT |
| 56 |
.INDENT 0.0 |
| 57 |
.TP |
| 58 |
.B algorithm |
| 59 |
This is a number indicating the hash algorithm. Currently the only supported |
| 60 |
hash algorithm for NSEC3 is SHA\-1, which is indicated by the number |
| 61 |
1; consequently \(dq1\(dq is the only useful value for this argument. |
| 62 |
.UNINDENT |
| 63 |
.INDENT 0.0 |
| 64 |
.TP |
| 65 |
.B flags |
| 66 |
This is provided for compatibility with NSEC3 record presentation format, but |
| 67 |
is ignored since the flags do not affect the hash. |
| 68 |
.UNINDENT |
| 69 |
.INDENT 0.0 |
| 70 |
.TP |
| 71 |
.B iterations |
| 72 |
This is the number of additional times the hash should be performed. |
| 73 |
.UNINDENT |
| 74 |
.INDENT 0.0 |
| 75 |
.TP |
| 76 |
.B domain |
| 77 |
This is the domain name to be hashed. |
| 78 |
.UNINDENT |
| 79 |
.SH SEE ALSO |
| 80 |
.sp |
| 81 |
BIND 9 Administrator Reference Manual, \fBRFC 5155\fP \%<https://\:datatracker\:.ietf\:.org/\:doc/\:html/\:rfc5155\:.html>\&. |
| 82 |
.SH Author |
| 83 |
Internet Systems Consortium |
| 84 |
.SH Copyright |
| 85 |
2026, Internet Systems Consortium |
| 86 |
.\" End of generated man page. |