2017-06-13 21:08:21 -04:00
. \" Copyright (C) 2009, 2014-2017 Internet Systems Consortium, Inc. ("ISC")
2010-05-18 21:14:14 -04:00
. \"
2016-07-21 03:11:01 -04:00
. \" This Source Code Form is subject to the terms of the Mozilla Public
. \" License, v. 2.0. If a copy of the MPL was not distributed with this
. \" file, You can obtain one at http://mozilla.org/MPL/2.0/.
2009-03-01 22:54:10 -05:00
. \"
.hy 0
.ad l
2015-10-06 01:45:21 -04:00
'\" t
2009-03-02 20:12:26 -05:00
. \" Title: nsec3hash
. \" Author:
2015-10-07 00:11:09 -04:00
. \" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
2015-10-06 01:45:21 -04:00
. \" Date: 2009-03-02
2009-03-02 20:12:26 -05:00
. \" Manual: BIND9
2015-10-06 01:45:21 -04:00
. \" Source: ISC
. \" Language: English
2009-03-02 20:12:26 -05:00
. \"
2015-10-06 01:45:21 -04:00
.TH "NSEC3HASH" "8" "2009\-03\-02" "ISC" "BIND9"
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2009-03-02 20:12:26 -05:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2015-10-06 01:45:21 -04:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2009-03-02 20:12:26 -05:00
.SH "NAME"
2009-03-01 22:54:10 -05:00
nsec3hash \- generate NSEC3 hash
.SH "SYNOPSIS"
2015-10-07 00:11:09 -04:00
.HP \w '\fBnsec3hash\fR\ 'u
2009-03-01 22:54:10 -05:00
\fB nsec3hash\fR {\fI salt\fR } {\fI algorithm\fR } {\fI iterations\fR } {\fI domain\fR }
2017-06-13 21:08:21 -04:00
.HP \w '\fBnsec3hash\ \- r\fR\ 'u
\fB nsec3hash \- r\fR {\fI algorithm\fR } {\fI flags\fR } {\fI iterations\fR } {\fI salt\fR } {\fI domain\fR }
2009-03-01 22:54:10 -05:00
.SH "DESCRIPTION"
.PP
2009-03-02 20:12:26 -05:00
\fB nsec3hash\fR
2015-10-06 01:45:21 -04:00
generates an NSEC3 hash based on a set of NSEC3 parameters\& . This can be used to check the validity of NSEC3 records in a signed zone\& .
2017-06-13 21:08:21 -04:00
.PP
If this command is invoked as
\fB nsec3hash \- r\fR , it takes arguments in an order matching the first four fields of an NSEC3 record, followed by the domain name: algorithm, flags, iterations, salt, domain\& . This makes it convenient to copy and paste a portion of an NSEC3 or NSEC3PARAM record into a command line to confirm the correctness of an NSEC3 hash\& .
2009-03-01 22:54:10 -05:00
.SH "ARGUMENTS"
2009-03-02 20:12:26 -05:00
.PP
2009-03-01 22:54:10 -05:00
salt
2009-03-02 20:12:26 -05:00
.RS 4
2015-10-06 01:45:21 -04:00
The salt provided to the hash algorithm\& .
2009-03-02 20:12:26 -05:00
.RE
.PP
2009-03-01 22:54:10 -05:00
algorithm
2009-03-02 20:12:26 -05:00
.RS 4
2015-10-06 01:45:21 -04:00
A number indicating the hash algorithm\& . Currently the only supported hash algorithm for NSEC3 is SHA\- 1, which is indicated by the number 1; consequently "1" is the only useful value for this argument\& .
2009-03-02 20:12:26 -05:00
.RE
.PP
2017-06-13 21:08:21 -04:00
flags
.RS 4
Provided for compatibility with NSEC3 record presentation format, but ignored since the flags do not affect the hash\& .
.RE
.PP
2009-03-01 22:54:10 -05:00
iterations
2009-03-02 20:12:26 -05:00
.RS 4
2015-10-06 01:45:21 -04:00
The number of additional times the hash should be performed\& .
2009-03-02 20:12:26 -05:00
.RE
.PP
2009-03-01 22:54:10 -05:00
domain
2009-03-02 20:12:26 -05:00
.RS 4
2015-10-06 01:45:21 -04:00
The domain name to be hashed\& .
2009-03-02 20:12:26 -05:00
.RE
2009-03-01 22:54:10 -05:00
.SH "SEE ALSO"
.PP
2009-03-02 20:12:26 -05:00
BIND 9 Administrator Reference Manual,
2015-10-06 01:45:21 -04:00
RFC 5155\& .
2009-03-01 22:54:10 -05:00
.SH "AUTHOR"
.PP
2015-10-06 01:45:21 -04:00
\fB Internet Systems Consortium, Inc\& .\fR
2009-03-02 20:12:26 -05:00
.SH "COPYRIGHT"
2015-10-06 01:45:21 -04:00
.br
2017-06-13 21:08:21 -04:00
Copyright \(co 2009, 2014-2017 Internet Systems Consortium, Inc. ("ISC")
2009-03-02 20:12:26 -05:00
.br