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's1or 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-VVmakes the program print the compile time configuration summary. yes, double V. extra V, extra lore. π
β EXIT VALUES β
- exit status of
0means 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 πΈ
- RFC 5155 <https://datatracker.ietf.org/doc/html/rfc5155.html> β DNS Security (DNSSEC) Hashed Authenticated Denial of Existence. yes that's the real name, i didn't make it up, i couldn't make that up. π
knotc(8),knotd(8). her siblings. go say hi. π«Ά
π Author π
CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/>
π Copyright π
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
- arch rolling: knot 3.6.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms