CLEANKRF(1)
β¨ CLEANKRF(1) β¨
okay bestie, so this is a User Contributed Perl Documentation page for cleankrf β yes, it's Perl, yes it's from the perl v5.44.0 era, and yes it's about DNSSEC keyrec files π
don't worry, I'll walk you through it π«Ά
πΈ NAME πΈ
cleankrf β literally cleans a DNSSEC-Tools keyrec file of old data β¨
π SYNOPSIS π
cleankrf [options] <keyrec-files>
π DESCRIPTION π
So cleankrf cleans old data out of a whole set of DNSSEC-Tools keyrec files. And what counts as "old data"? Three things, bestie: obsolete signing sets, orphaned keys, and obsolete keys. Let's break it down π₯
Obsolete signing sets are set keyrecs that no zone keyrec references. And listen β revoked signing sets are considered obsolete by cleankrf, that's just how it is π
Orphaned keys are KSK and ZSK key keyrecs that no set keyrec references.
Obsolete keys are key keyrecs whose keyrec_type is kskobs or zskobs.
And here's a fun one π β cleankrf's exit code is the count of orphaned and obsolete keyrecs found. It's giving "your exit code is your receipts", honestly iconic.
π¦ OPTIONS π¦
-countβ shows a final count of the old keyrecs found in the keyrec files. The way this one is special? It lets the count show up even if you passed-quietβ¨-listβ the key keyrecs do get checked for old keyrecs, but they are not removed from the keyrec file. Instead, the names of the old keyrecs are displayed π-rmβ deletes the key files, both.keyand.private, from orphaned and expired keyrecs ποΈ-quietβ displays no output π€«-verboseβ displays output about referenced keys and unreferenced keys π-Versionβ displays the version information forcleankrfand the DNSSEC-Tools package π-helpβ displays a usage message π
π COPYRIGHT π
Copyright 2004-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. (read the COPYING file, bestie, it's the rules π)
π§ AUTHOR π§
Wayne Morrison, tewok@tislabs.com β ty for your service king π
β SEE ALSO β
fixkrf(8)lskrf(8)zonesigner(8)
Net::DNS::SEC::Tools::keyrec.pm(3)
file-keyrec.pm(5)
ngl the exit code being a count is lowkey the most main character energy thing in this whole page π
and that's the whole page, bestie π mwah π β this was CLEANKRF(1), page generated from perl v5.44.0 on 2026-10-17, and the manual name up top was CLEANKRF(1) in case you forgot already π slay β¨π¦π
π¦ 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