man_knsec3hash.rst 1.01 KB
Newer Older
1 2
.. highlight:: console

3 4
knsec3hash – NSEC hash computation utility
==========================================
5 6 7 8

Synopsis
--------

9
:program:`knsec3hash` *salt* *algorithm* *iterations* *name*
10 11 12 13

Description
-----------

14
This utility generates a NSEC3 hash for a given domain name and parameters of NSEC3 hash.
15

Daniel Salzman's avatar
Daniel Salzman committed
16 17
Parameters
..........
18

19
*salt*
20
  Specifies a binary salt encoded as a hexadecimal string.
21

22
*algorithm*
23
  Specifies a hashing algorithm by number. Currently, the only supported algorithm is SHA-1 (number 1).
24

25
*iterations*
26 27
  Specifies the number of additional iterations of the hashing algorithm.

28
*name*
29 30
  Specifies the domain name to be hashed.

31 32
Examples
--------
33 34 35 36 37 38

::

  $ knsec3hash c01dcafe 1 10 knot-dns.cz
  7PTVGE7QV67EM61ROS9238P5RAKR2DM7 (salt=c01dcafe, hash=1, iterations=10)

39 40 41 42 43
::

  $ knsec3hash - 1 0 net
  A1RT98BS5QGC9NFI51S9HCI47ULJG6JH (salt=-, hash=1, iterations=0)

44 45 46
See Also
--------

47
:rfc:`5155` – DNS Security (DNSSEC) Hashed Authenticated Denial of Existence.
48 49

:manpage:`knotc(8)`, :manpage:`knotd(8)`.