KRFCHECK(1)

πŸ“¦ version 2.2.3, in arch rolling

πŸ’– 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 (kskdirectory or zskdirectory) 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, 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.
  • -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.
  • -quiet β€” do not display messages. This option supersedes the setting of the -verbose option.
  • -verbose β€” display many messages. This option is subordinate to the -quiet option.
  • -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)

πŸ’– 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