KRFCHECK(1)

πŸ“¦
version 2.2.3 Β· 2 versions
, in fedora 43

πŸ’– 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 (kskdirectory or zskdirectory) 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, krfcheck does 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, krfcheck does 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 -set or -key options. pick a lane, queen. πŸ’…
  • -set β€” only perform checks of set keyrecs. this option may not be combined with the -zone or -key options.
  • -key β€” only perform checks of key keyrecs. this option may not be combined with the -set or -zone options.
  • -count β€” display a final count of errors. receipts, basically. 🧾
  • -quiet β€” do not display messages. this option supersedes the setting of the -verbose option. she said 🀫 and meant it.
  • -verbose β€” display many messages. this option is subordinate to the -quiet option. yapper mode, but -quiet always wins the argument.
  • -Version β€” displays the version information for krfcheck and the DNSSEC-Tools package.
  • -help β€” display a usage message.

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