KZONECHECK(1)
π KZONECHECK π
okay so this is the kzonecheck page from the Knot DNS manual, bestie β it's the zone check tool, and it's genuinely iconic. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
kzonecheck β the Knot DNS zone check tool. that's it, that's the vibe. π¦
β¨ SYNOPSIS β¨
kzonecheck [options] filename
β¨ DESCRIPTION β¨
so what does this little icon actually do? it checks your zone file's syntax and then runs semantic checks on the zone content. and here's the part that matters: the checks it runs are literally the same checks the Knot DNS server runs. same ones. no cap. π
if you want the full list of available semantic checks, go look at the semantic-checks configuration option in knot.conf(5). that's where the whole menu lives, iykyk.
πΈ Parameters πΈ
filenameβ the path to the zone file you want checked. and if you're feeling lazy (valid) and want to read from stdin instead, use/dev/stdinor just-. yes, a single dash. slay. π
π Options π
-o,--originoriginβ sets the zone origin. if you don't specify it, the SOA record owner in the zone file gets used, and the zone file name (without the possible.zonesuffix) is treated as the initial zone origin in case the owner isn't an FQDN. so it's got a whole fallback situation going on. π«Ά-d,--dnssecon|offβ also checks DNSSEC-related records. the default is to decide based on whether there's an RRSIG for the SOA. so it just peeks and picks. β¨-z,--zonemdβ also checks the zone hash against a ZONEMD record... and that ZONEMD record is required to exist. like, it has to be there. no ZONEMD, we have a problem. π-t,--timetimeβ specifies the current time. you can use a UNIX timestamp, theYYYYMMDDHHmmSSformat, or the[+/-]time[unit]format where unit can beY,M,D,h,m, ors. default is the current UNIX timestamp. flexible queen. π-j,--jobsjobsβ the number of threads used for DNSSEC validation. default is all the CPU threads available. all of them. it's giving main character energy on your CPU. π₯-p,--printβ prints the zone on stdout. show me the zone, periodt. π-v,--verboseβ enables debug output. for when you need to know everything. π-h,--helpβ prints the program help. the classic. β-V,--versionβ prints the program version. and here's the cute extra:-VVmakes the program print the compile time configuration summary. double V, double the info. π
β¨ EXIT VALUES β¨
exit status 0 = successful operation, everything ate, no notes. π
any other exit status = an error happened. π
β¨ SEE ALSO β¨
knotd(8), knot.conf(5) β go read these too, bestie, they're linked for a reason. π¦
β¨ AUTHOR β¨
CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/> β legends, honestly. π«Ά
β¨ COPYRIGHT β¨
Copyright (C) CZ.NIC, z.s.p.o. and contributors
ngl that's the whole page and every single detail is in there π
okay bye bestie, go check those zones β this was 3.6.2, dated 2026-10-21, and it's a Knot DNS moment fr fr πΈβ¨π
π¦ 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