KNSEC3HASH(1)

πŸ’… KNSEC3HASH(1) β€” the Knot DNS girlie's guide to NSEC3 hashing ✨

okay so bestie, welcome to knsec3hash, a Knot DNS utility and honestly? it's giving "small but mighty." it's the simple utility that computes an NSEC3 hash, no cap. πŸŽ€


✨ NAME ✨

knsec3hash β€” a simple utility to compute an NSEC3 hash. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

here's how you can call her, three iconic ways:

knsec3hash salt algorithm iterations name

knsec3hash algorithm flags iterations salt name

knsec3hash [-h] [-V]

like, pick your lane, she supports all three. periodt. πŸ’…


πŸ’– DESCRIPTION πŸ’–

this utility generates an NSEC3 hash for a given domain name and parameters of an NSEC3 hash. literally exactly what it says on the tin. πŸ”₯

πŸ§‚ Parameters

  • salt β€” specifies a binary salt encoded as a hexadecimal string. hex string only, she's specific like that.
  • algorithm β€” specifies a hashing algorithm by number. currently, the only supported algorithm is SHA-1 (number 1). so yeah, it's 1 or nothing, iykyk.
  • iterations β€” specifies the number of additional iterations of the hashing algorithm. gotta hash it again. and again. and again. 😭
  • name β€” specifies the domain name to be hashed. the main character of this whole operation, honestly. πŸ‘‘
  • flags β€” specifies NSEC3 flags as an unsigned integer. unsigned, bestie, don't push it. 🫢

πŸŽ€ Options

  • -h, --help β€” print the program help. your friendly lil "what do i do" button. πŸ’œ
  • -V, --version β€” print the program version. and listen, the option -VV makes the program print the compile time configuration summary. yes, double V. extra V, extra lore. 🌈

⭐ EXIT VALUES ⭐

  • exit status of 0 means successful operation. slay, we love a win. πŸ’–
  • any other exit status indicates an error. πŸ’€ not the vibe.

πŸ¦‹ EXAMPLES πŸ¦‹

here's her in her natural habitat, fr fr:

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

and the icon herself, with the salt set to the little dash:

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

ate. no crumbs. πŸ”₯


🌸 SEE ALSO 🌸


πŸ‘‘ Author πŸ‘‘

CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/>

Copyright (C) CZ.NIC, z.s.p.o. and contributors


πŸ’Œ cute lil sign-off: this is version 3.6.0, dated 2026-09-08 β€” go forth and hash responsibly, bestie. mwah. πŸ’‹
πŸ“¦ where this page comes from