KZONESIGN(1)
β¨ KZONESIGN(1) β¨
okay so this is the man page for kzonesign, straight out of the Knot DNS fam π
β it's the DNSSEC signing utility and honestly it's kind of iconic.
πΈ NAME πΈ
kzonesign β the DNSSEC signing utility. that's it, that's the whole vibe. it signs zones and it does it well.
π¦ SYNOPSIS π¦
kzonesign [config_option] [options] zone_name
like, config option, then options, then the zone name. order matters bestie, we love a structured queen π
π DESCRIPTION π
so here's the tea: this utility reads the zone's zone file, signs the zone according to whatever configuration you gave it, and then writes the signed zone file back. slay. π
an alternative mode is DNSSEC validation of the given zone β so instead of signing, you're just checking that everything is correct. vibe check, but cryptographically.
and the glow-up? the signing or validation can run in parallel if it's enabled in the configuration (peep policy.signing-threads and zone.adjust-threads β those are the ones doing the heavy lifting ποΈ).
π«Ά Parameters
zone_nameβ a name of the zone to be signed. literally just the zone, bestie.
π Config options
-c,--configfile β use a textual configuration file. the default is/etc/knot/knot.conf, iykyk.-C,--confdbdirectory β use a binary configuration database directory. default is/var/lib/knot/confdb. also important: the default configuration database, if it exists, has a preference to the default configuration file. so if it's there, it wins π.
π Options
-o,--outdirdir_name β write the output zone file to the specified directory instead of the configured one. lowkey useful when you want the output somewhere else entirely.-r,--rolloverβ allow key roll-overs and NSEC3 re-salt. and listen: in order to finish possible KSK submission, set the KSK's active timestamp to now (+0) usingkeymgr. don't skip that part fr fr.-v,--verifyβ instead of (re-)signing the zone, just verify that the zone is correctly signed. no signing, only judging π-t,--timetimestamp β sign/verify the zone (and roll the keys if necessary) as if it was at the time specified bytimestamp. basically time travel but for DNSSEC π°οΈ-h,--helpβ print the program help. your bestie when you're lost.-V,--versionβ print the program version. and the extra: the option-VVmakes the program print the compile time configuration summary. yes, two V's, different behaviour, don't come for me π
π₯ EXIT VALUES π₯
exit status of 0 means successful operation. any other exit status indicates an error. that's the whole rule. 0 = slay, anything else = something went wrong π
π SEE ALSO π
knot.conf(5), keymgr(8) β go read those too, they're the supporting cast and they ate.
π 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
and that's the page, bestie π§ β this was version 3.6.2, dated 2026-10-21, brought to you by the Knot DNS girlies. go sign some zones. periodt. π
β¨
π¦ where this page comes from
- nixpkgs unstable: knot-dns 3.6.2
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms