KRFCHECK(1)
π NAME π
Okay so krfcheck is the main character of KRFCHECK(1) β a User Contributed Perl Documentation page, section 1 of the manual, no cap. Itβs the tool that checks a DNSSEC-Tools keyrec file for problems and inconsistencies. Literally a vibe check for your keyrecs. π
β¨ 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. Like, it is obsessed with finding the sketchy stuff. π₯
π¨ Recognized problems include:
- no zones defined β the keyrec file does not contain any zone keyrecs.
- 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.
- missing key from zone keyrec β a zone keyrec does not have both a KSK key and a ZSK key.
- 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. π
- mislabeled key β a key is labeled as a KSK (or ZSK) and its owner zone has it labeled as the opposite.
- 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 include:
- imminent zone expiration β a zone will expire within one week.
- odd zone-signing date β a zoneβs recorded signing date is later than the current system clock.
- orphaned keys β a key keyrec is unreferenced by any set keyrec.
- missing key directories β a zone keyrecβs key directories (
kskdirectoryorzskdirectory) does not exist.
π« Recognized inconsistencies include:
- 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.-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.-quietβ do not display messages. This option supersedes the setting of the-verboseoption.-verboseβ display many messages. This option is subordinate to the-quietoption.-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)
π Thatβs the whole manual page, bestie β this oneβs from perl v5.44.0 and dated 2026-10-17. π«Ά
π¦ where this page comes from
- arch rolling: dnssec-tools 2.2.3-16 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms