KRFCHECK(1)
π krfcheck β like a vibe check but for your keyrec file π
okay bestie, listen up: this is the manual page for krfcheck(1), a little script from the User Contributed Perl Documentation section. she does one job and she does it flawlessly: she reads a keyrec file and roasts it (gently) for problems, potential problems, and inconsistencies. π
β¨ SYNOPSIS β¨
krfcheck [-zone | -set | -key] [-count] [-quiet]
[-verbose] [-Version] [-help] keyrec-file
πΈ DESCRIPTION πΈ
This script checks a keyrec file for problems, potential problems, and inconsistencies. it's giving concerned bestie reading your texts energy, but for DNSSEC-Tools data. π«Ά
π Recognized problems
- no zones defined β the keyrec file does not contain any zone keyrecs. like, zero. empty. ghost town. π»
- no sets defined β the keyrec file does not contain any set keyrecs.
- no keys defined β the keyrec file does not contain any key keyrecs.
- unknown zone keyrecs β a set keyrec or a key keyrec references a non-existent zone keyrec. pointing at nothing fr fr.
- missing key from zone keyrec β a zone keyrec does not have both a KSK key and a ZSK key. it's missing half its personality.
- missing key from set keyrec β a key listed in a set keyrec does not have a key keyrec.
- expired zone keyrecs β a zone has expired. rip boo, it's over. π
- mislabeled key β a key is labeled as a KSK (or ZSK) and its owner zone has it labeled as the opposite. the key is having an identity crisis and nobody told it.
- invalid zone data values β a zone's keyrec data are checked to ensure that they are valid. the following conditions are checked: existence of the zone file, existence of the KSK file, existence of the KSK and ZSK directories, the end-time is greater than one day, and the seconds-count and date string match.
- invalid key data values β a key's keyrec data are checked to ensure that they are valid. the following conditions are checked: valid encryption algorithm, key length falls within algorithm's size range, random generator file exists, and the seconds-count and date string match.
π¦ Recognized potential problems
- imminent zone expiration β a zone will expire within one week. she's on the clock, bestie. β°
- odd zone-signing date β a zone's recorded signing date is later than the current system clock. time travel? in my keyrec file? it's more likely than you think.
- orphaned keys β a key keyrec is unreferenced by any set keyrec. no set, no friends, no group chat. π
- missing key directories β a zone keyrec's key directories (
kskdirectoryorzskdirectory) does not exist.
π Recognized inconsistencies
- key-specific fields in a zone keyrec β a zone keyrec contains key-specific entries. to allow for site-specific extensibility,
krfcheckdoes not check for undefined keyrec fields. - zone-specific fields in a key keyrec β a key keyrec contains zone-specific entries. to allow for site-specific extensibility,
krfcheckdoes not check for undefined keyrec fields. - mismatched zone timestamp β a zone's seconds-count timestamp does not match its textual timestamp.
- mismatched set timestamp β a set's seconds-count timestamp does not match its textual timestamp.
- mismatched key timestamp β a key's seconds-count timestamp does not match its textual timestamp.
π OPTIONS π
-zoneβ only perform checks of zone keyrecs. this option may not be combined with the-setor-keyoptions. pick a lane, queen. π-setβ only perform checks of set keyrecs. this option may not be combined with the-zoneor-keyoptions.-keyβ only perform checks of key keyrecs. this option may not be combined with the-setor-zoneoptions.-countβ display a final count of errors. receipts, basically. π§Ύ-quietβ do not display messages. this option supersedes the setting of the-verboseoption. she said π€« and meant it.-verboseβ display many messages. this option is subordinate to the-quietoption. yapper mode, but-quietalways wins the argument.-Versionβ displays the version information forkrfcheckand the DNSSEC-Tools package.-helpβ display a usage message.
π COPYRIGHT π
Copyright 2004-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
π AUTHOR π
Wayne Morrison, tewok@tislabs.com
β SEE ALSO β
cleankrf(8), fixkrf(8), lskrf(1), zonesigner(8)
Net::DNS::SEC::Tools::keyrec.pm(3)
file-keyrec(5)
bestie this page is from perl v5.42.0 and it was dated 2025-07-23 β go forth and check those keyrecs, you absolute icon πβ¨π¦ no cap, you're gonna slay.
π¦ where this page comes from
- fedora 43: dnssec-tools 2.2.3-30.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms