bind9/bin/tools/nsec3hash.8

89 lines
3 KiB
Groff
Raw Normal View History

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/.
.\"
.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"
nsec3hash \- generate NSEC3 hash
.SH "SYNOPSIS"
2015-10-07 00:11:09 -04:00
.HP \w'\fBnsec3hash\fR\ 'u
\fBnsec3hash\fR {\fIsalt\fR} {\fIalgorithm\fR} {\fIiterations\fR} {\fIdomain\fR}
2017-06-13 21:08:21 -04:00
.HP \w'\fBnsec3hash\ \-r\fR\ 'u
\fBnsec3hash \-r\fR {\fIalgorithm\fR} {\fIflags\fR} {\fIiterations\fR} {\fIsalt\fR} {\fIdomain\fR}
.SH "DESCRIPTION"
.PP
2009-03-02 20:12:26 -05:00
\fBnsec3hash\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
\fBnsec3hash \-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\&.
.SH "ARGUMENTS"
2009-03-02 20:12:26 -05:00
.PP
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
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
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
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
.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\&.
.SH "AUTHOR"
.PP
2015-10-06 01:45:21 -04:00
\fBInternet 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