KEYMOD(1)
π KEYMOD(1) π
πΈ NAME πΈ
okay so bestie, this is keymod β straight from the User Contributed Perl Documentation β and it modifies key parameters in a DNSSEC-Tools keyrec file. π
β¨ SYNOPSIS β¨
keymod [options] keyrec1 ... keyrecN
π¦ DESCRIPTION π¦
keymod modifies the key parameters in a keyrec file that are used to generate cryptographic keys used to sign zones. The new parameters will be used by zonesigner when generating new keys. It has no effect on existing keys, bestie β none. π
zonesigner will use the new parameter for a zone the next time it generates a key that requires that parameter. This means that, for example, a new ZSK length will not be used during the next invocation of zonesigner if that invocation will be performing KSK-rollover actions.
The following fields may be modified:
kskcountβ count of KSK keysksklengthβ length of KSK keysksklifeβ lifetime of KSK keysrandomβ random number generator device filerevperiodβ revocation period for KSK keyszskcountβ count of ZSK keyszsklengthβ length of ZSK keyszsklifeβ lifetime of ZSK keys
New key/value fields will be added to a zone keyrec file to inform zonesigner that new values should be used. The key portion of the added fields will begin with "new_". For example, a new KSK length of 2048 will be written to the keyrec file as:
new_ksklength 2048
All zone records in the specified keyrec file will be modified, unless the -zone option is given. In that case, only the named zone will be modified. π
If a zone keyrec already contains a new key/value field, then the value will be modified on subsequent runs of keymod.
π OPTIONS π
keymod recognizes the following options. Multiple options may be combined in a single keymod execution. π
All numeric values must be positive or zero.
If a new key/value field should be deleted from a zone keyrec, then a zero or empty string value should be specified for the appropriate option.
-zonezonename β The zone keyrec whose name matches zonename is selected as the only keyrec that will be modified. If this name is not given, then all zone keyrec records will be modified.-ksklengthksklength β Theksklengthfield will be modified in the selected keyrec records to the given value. This is a numeric field whose values depend on the cryptographic algorithm to be used to generate keys for the zone.-kskcountkskcount β Thekskcountfield will be modified in the selected keyrec records to the given value. This is a numeric field.-ksklifeksklife β Theksklifefield will be modified in the selected keyrec records to the given value. This is a numeric field.-randomrandom β Therandomfield will be modified in the selected keyrec records to the given value. This is a text field that will be passed to the key generator.-revperiodrevperiod β Therevperiodfield will be modified in the selected keyrec records to the given value. This is a numeric field.-zskcountzskcount β Thezskcountfield will be modified in the selected keyrec records to the given value. This is a numeric field.-zsklengthzsklength β Thezsklengthfield will be modified in the selected keyrec records to the given value. This is a numeric field whose values depend on the cryptographic algorithm to be used to generate keys for the zone.-zsklifezsklife β Thezsklifefield will be modified in the selected keyrec records to the given value. This is a numeric field.-nocheckβ If this option is given, thekrfcheckcommand will not be run on the modified keyrec file.-verboseβ Display information about every modification made to the keyrec file.-Versionβ Displays the version information forkeymodand the DNSSEC-Tools package.-helpβ Display a usage message.
π COPYRIGHT π
Copyright 2012-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 π«Ά
zonesigner(8),krfcheck(8)Net::DNS::SEC::Tools::keyrec.pm(3)file-keyrec(5)
mwah π thatβs the whole vibe. This page is from perl v5.44.0, dated 2026-10-17, and itβs still living under KEYMOD(1) β periodt. β¨π¦
π¦ 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