CLEANKRF(1)
π cleankrf β ok so we're cleaning up your DNSSEC-Tools keyrec files bestie π
Heyyy so this is the manual page for cleankrf(1), which lives in the User Contributed Perl Documentation section. She's a little perl script with big main character energy and she is SO ready to help you declutter. πΈ
β¨ SYNOPSIS β¨
cleankrf [options] <keyrec-files>
π§Ή DESCRIPTION π§Ή
Okay so picture this: your keyrec files are your room, and they are lowkey a mess. cleankrf goes in and cleans the old data out of a whole set of DNSSEC-Tools keyrec files. The old data she's hunting for is: obsolete signing sets, orphaned keys, and obsolete keys. Three categories of clutter. Iconic of her honestly. π
Let's break down exactly what counts as what, because the details MATTER:
- Obsolete signing sets are
setkeyrecs that nozonekeyrec references. Also β and this is important β revoked signing sets are considered obsolete bycleankrf. So revoked = out. No cap. - Orphaned keys are
KSKandZSKkey keyrecs that nosetkeyrec references. Nobody's claiming them, they're just... there. Orphans fr fr. π - Obsolete keys are key keyrecs with a
keyrec_typeofkskobsorzskobs.
π«Ά Heads up bestie: cleankrf's exit code is the count of orphaned and obsolete keyrecs found. That's not a "did it work" 0-or-1 situation, that number is a quantity. Don't panic when it's not zero.
π OPTIONS π
-countβ Show a final count of the old keyrecs found in the keyrec files. The cute part: this option makes the count show up even if you also passed-quiet. So it overrides the silence. She will speak. π-listβ The key keyrecs still get checked for old keyrecs, but nothing gets removed from the keyrec file. Instead, the names of the old keyrecs are displayed. Basically a window-shopping mode. No deleting, just looking. π-rmβ Actually deletes the key files, both the.keyand the.privateones, from orphaned and expired keyrecs. Like, both of them. Both. π-quietβ Display no output. Shhh. π€«-verboseβ Display output about referenced keys and unreferenced keys. Give her the mic. π€-Versionβ Displays the version information forcleankrfand the DNSSEC-Tools package. (CapitalV, bestie, don't come for me.) β¨-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 π
fixkrf(8),lskrf(8),zonesigner(8)Net::DNS::SEC::Tools::keyrec.pm(3)file-keyrec.pm(5)
And that's the whole vibe check, bestie β this was perl v5.42.0, dated 2025-07-23, straight from the CLEANKRF(1) page. Go forth and declutter. 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