KEYARCH(1)
π KEYARCH(1) β keyarch π
okay bestie, welcome to KEYARCH(1), a User Contributed Perl Documentation page, and today's main character is keyarch: the DNSSEC-Tools daemon to archive old KSK and ZSK keys. It's giving βclean out the expired key drawerβ energy, and honestly? slay. π§Ήβ¨
β¨ NAME β¨
keyarch β DNSSEC-Tools daemon to archive old KSK and ZSK keys. ποΈπ
π SYNOPSIS π
keyarch [options] <keyrec_file | rollrec_file>
π¦ DESCRIPTION π¦
okay so here's the tea: keyarch archives old KSK and ZSK keys. Keys are considered old if they are revoked or obsolete. Keys marked as either kskrev or zskrev are revoked; keys marked as either kskobs or zskobs are obsolete. Archived keys are prefixed with the seconds-since-epoch as a means of distinguishing a zone's keys that have the same five digit number. π°οΈπ
If the required file argument is a keyrec file, then expired keys listed in that file are archived. If the file argument is a rollrec file, the keyrec files of the zones in that file are checked for expired keys.
If the -zone option is given, then only revoked and obsolete keys belonging to the specified zone will be archived.
The archive directory is either zone-specific (listed in the zone's keyrec record in the zone's keyrec file) or the default archive directory given in the DNSSEC-Tools configuration file. obsessed π
The count of archived keys is given as the program's exit code. Error exit codes are negative.
bestie, the <keyrec_file | rollrec_file> argument is required β do not forget it π
π OPTIONS π
The following options are recognized, no cap:
-zone zone_fileβ name of the zone whose KSKs will be archived. If this is not given, then all the zones defined in the rollrec file will be checked. πΊοΈ-kskonlyβ only archive KSK keys.-zskonlyβ only archive ZSK keys.-dtconfig config_fileβ name of an alternate DNSSEC-Tools configuration file to be processed. If specified, this configuration file is used in place of the normal DNSSEC-Tools configuration file not in addition to it. Also, it will be handled prior to keyrec files, rollrec files, and command-line options. βοΈ-quietβ no output will be given. π€«-verboseβ verbose output will be given. π£οΈ-helpβ display a usage message. π-Versionβ displays the version information for keyarch and the DNSSEC-Tools package. π·οΈ
πͺ EXIT VALUES πͺ
On success, keyarch's exit code is the number of keys archived. π
keyarch has a 0 exit code if the help message is given.
keyarch has a negative exit code if an error is encountered. π
π COPYRIGHT π
Copyright 2007-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 π
rollerd(8),zonesigner(8)Net::DNS::SEC::Tools::conf.pm(3),Net::DNS::SEC::Tools::dnssectools.pm(3),Net::DNS::SEC::Tools::defaults.pm(3),Net::DNS::SEC::Tools::keyrec.pm(3),Net::DNS::SEC::Tools::rollrec.pm(3)keyrec(5),rollrec(5)
okay that's the whole page, mwah π β this cutie of a KEYARCH(1) page is from perl v5.44.0, dated 2026-10-17. go archive those keys, bestie π«Άβ¨ fr fr
π¦ 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