ROLLCTL(1)
โจ NAME โจ
rollctl โ Send commands to the DNSSEC-Tools rollover daemon. Welcome to rollctl(1), from the User Contributed Perl Documentation section, bestie ๐
๐ฆ SYNOPSIS ๐ฆ
rollctl [options]
๐ DESCRIPTION ๐
Okay so rollctl sends commands to the DNSSEC-Tools rollover daemon, rollerd. Only one option may be specified on a command line. Yes, one option, bestie โ that's the vibe check.
In most cases, rollerd will send a response to rollctl. rollctl will print a success or failure message, as appropriate. It's giving "did that work or not" energy ๐
If rollctl is run as a PAR-packed command, it will use its own local copy of the dnssec-tools.conf file. This file will be found in the package directory. Iconic little self-contained moment โจ
๐ OPTIONS ๐
The following options are handled by rollctl.
-displayโ Starts the rollover status GUI. Pop-up window slay ๐ซถ-dspub zoneโ Indicates thatzone's parent has published a new DS record forzone.
Multiple zones can be specified on the command line. For instance, this command will send the dspub command to rollerd for three zones.
$ rollctl -dspub example1.com example2.com example3.com
-dspuballโ Indicates that DS records have been published for all zones in phase 5 of KSK rollover. Phase 5 said "we're done here" ๐-groupโ Indicates that the specified command should apply to a zone group instead of a zone. Consequently, the specified zone must actually be a zone group. This option must be used in conjunction with another command.
This option only applies to the following commands: -dspub, -rollksk, -rollzone, -rollzsk, and -skipzone. This command will have no effect if it is given to other other commands. (Double "other" is literally in the source, no cap.)
-halt [now]โ Cleanly haltsrollerdexecution. If the optionalnowparameter is given, thenrollerdwill be halted immediately, rather than allowing it to complete its currently queued operations. Immediate halt is very main-character energy ๐ฅ-logfile logfileโ Sets therollerdlog file tologfile. This must be a valid logging file, meaning that iflogfilealready exists, it must be a regular file. The only exceptions to this are iflogfileis/dev/stdoutor/dev/tty.-loglevel loglevelโ Sets therollerdlogging level tologlevel. This must be one of the valid logging levels defined inrollmgr.pm(3).
If a logging level is not specified, then the list of valid levels will be printed and rollctl will exit. The list is given in both text and numeric forms. Very "here's the menu, pick one" ๐
-logtz logtzโ Sets therollerdlogging timezone tologlevel(yes, the flag argument islogtz). This must be eithergmt(for Greenwich Mean Time) orlocal(for the host's local time).-mergerrfs rollrec0 ... rollrecNโ Tellsrollerdto merge the specified rollrec files with its active rollrec file. The names of the rollrec files must not contain colons.-nodisplayโ Stops the rollover status GUI. Closing the tab, basically ๐-phasemsg lengthโlengthis the default length of phase-related log messages used byrollerd. The valid levels are"long"and"short", with"long"being the default value.
The long message length means that a phase description will be included with some log messages. For example, the long form of a message about ZSK rollover phase 3 will look like this: "ZSK phase 3 (Waiting for old zone data to expire from caches)".
The short message length means that a phase description will not be included with some log messages. For example, the short form of a message about ZSK rollover phase 3 will look like this: "ZSK phase 3".
-rollallโ Resumes rollover for all zones in the current rollrec file that have been suspended. ("skip"zones are suspended.) Un-pausing the whole group chat ๐ซถ-rollallksksโ Initiates KSK rollover for all the zones defined in the current rollrec file that aren't currently in rollover.-rollallzsksโ Initiates ZSK rollover for all the zones defined in the current rollrec file that aren't currently in rollover.-rollksk zoneโ Initiates KSK rollover for the zone named byzone.
Multiple zones can be specified on the command line. For instance, this command will send the rollksk command to rollerd for three zones.
$ rollctl -rollksk example1.com example2.com example3.com
-rollrec rollrec_fileโ Sets the rollrec file to be processed byrollerdtorollrec_file.-rollzone zoneโ Resumes rollover for the suspended zone named byzone.
Multiple zones can be specified on the command line. For instance, this command will send the rollzone command to rollerd for three zones.
$ rollctl -rollzone example1.com example2.com example3.com
-rollzsk zoneโ Initiates rollover for the zone named byzone.
Multiple zones can be specified on the command line. For instance, this command will send the rollzsk command to rollerd for three zones.
$ rollctl -rollzsk example1.com example2.com example3.com
-runqueueโ Wakes uprollerdand has it run its queue of rollrec entries. Rise and grind,rollerdโญ-shutdownโ Synonym for-halt.-signzone zoneโ Signszone's zonefile without performing any rollover actions. The zone is signed with the keys most recently used to sign the zone. No new keys will be generated.-signzones [all | active]โ Signs the zonefiles of zones managed byrollerd, without performing any rollover actions. If thealloption is given, then all ofrollerd's zones will be signed. If theactiveoption is given, then only those zones which aren't in the skip stage will be signed. The zones are signed with the keys most recently used to sign each zone. No new keys will be generated.-skipallโ Suspends rollover for all zones in the current rollrec file. Everyone take five ๐-skipzone zoneโ Suspends rollover for the zone named byzone.
Multiple zones can be specified on the command line. For instance, this command will send the skipzone command to rollerd for three zones.
$ rollctl -skipzone example1.com example2.com example3.com
-sleeptime secondsโ Setsrollerd's sleep time tosecondsseconds.sleeptimemust be an integer at least as large as the$MIN_SLEEPvalue inrollerd.-splitrrf new-rrf zone0 ... zoneNโ Tellsrollerdto move a set of rollrec entries from the current rollrec file into a new file. The new file is named in thenew-rrfparameter. The rollrec entries whose names correspond to thezone0tozoneNlist are moved to the new file. The name of the new rollrec file and the zone names must not contain colons.-statusโ Hasrollerdwrite several of its operational parameters to its log file. The parameters are also reported torollctl, which prints them to the screen. Receipts, bestie ๐งพโจ-zonegroup [zone-group]โ Requests information about zone groups fromrollerd. If the optionalzone-groupargument is not given, thenrollerdwill return a list of the defined zone groups and the number of zones in each. If azone-groupis specified, thenrollerdwill return a list of the zones in that group.
(While this is using the term "zone", it is actually referring to the name of the rollrec entries. For a particular rollrec entry, the rollrec name is usually the same as the zone name, but this is not a requirement.)
-zonelogโ Set the logging level for the specified zone. The new logging level is only for the current execution ofrollerdand is not saved to the active rollrec file.
The arguments for this command must be in the format "zone:loglevel". For example, this command will send the zonelog command to rollerd for three zones.
$ rollctl -zonelog example1.com:info example2.com:6 example3.com:err
-zonestatusโ Hasrollerdwrite the status of zones in the current rollrec file to therollerdlog file. The status is also reported torollctl, which prints it to the screen.rollctlprints it in columnar fashion to enhance readability. The columns, in order, are: rollrec name, zone name, roll/skip state, and rollover phase.
Example:
anothersub anothersub.example.com skip KSK 1
example.com example.com roll KSK 1
site1.in.subzone.example.com subzone.example.com roll KSK 3
site1.subzone.example.com subzone.example.com roll KSK 3
-zsargs arglist zonesโ Provides additionalzonesignerarguments for a given set of zones. These arguments will override the arguments in the DNSSEC-Tools defaults file, the DNSSEC-Tools configuration file, and the zones' keyrec files.
The zonesigner argument list is given in arglist. Given the rollctl argument processing, the new arguments for zonesigner cannot be specified as expected. Instead, the arguments should be given in the following manner. The leading dash should be replaced with an equals sign. If the option takes an argument, the space that would separate the option from the option's argument should also be replaced by an equals sign. rollerd translates these arguments to the appropriate format for zonesigner. These examples should clarify the modifications:
normal zonesigner option -zsargs options
------------------------ ---------------
-nokrfile =nokrfile
-zskcount 5 =zskcount=5
The zones list is a space-separated list of zones. All the new zonesigner arguments will be applied to all the listed zones.
The "=clear" argument is special. rollerd translates it to "-clear", which is not a normal zonesigner option. Instead, rollerd recognizes "-clear" as an indicator that it should remove the zsargs field from the rollrec records for the specified zones.
The following are valid uses of -zsargs:
# rollctl -zsargs =ksklength=2048 example.com
# rollctl -zsargs =ksklen=2048 =zsklen=2048 example.com test.com
-Versionโ Displays the version information forrollctland the DNSSEC-Tools package.-quietโ Prevents output from being given. Both error and non-error output is stopped. Silence is golden, lowkey ๐คซ-helpโ Displays a usage message.
๐ EXIT CODES ๐
rollctl may give the following exit codes:
0โ Successful execution1โ Error sending the command torollerd.2โ Missing argument.3โ Too many commands specified.200โ Rollerd is not running.201โ Configuration file checks failed.
๐ฎ FUTURE ๐ฎ
The following modifications may be made in the future:
- command execution order โ The commands will be executed in the order given on the command line rather than in alphabetical order.
๐ COPYRIGHT ๐
okay so the legal bit, and we're gonna say it with our whole chest because it's literally required:
Copyright 2006-2014 SPARTA, Inc. All rights reserved.
and before anyone clutches their pearls โ all the deets live in the COPYING file that ships with the DNSSEC-Tools package, so go read that if you need the full tea. ๐โจ
๐ซถ AUTHOR ๐ซถ
this iconic human right here wrote it:
Wayne Morrison, tewok@tislabs.com
give him his flowers, fr fr ๐๐
๐ SEE ALSO ๐
more reading, because bestie you know we love a lore drop:
Net::DNS::SEC::Tools::rollmgr.pm(3)Net::DNS::SEC::Tools::rollrec.pm(3)rollerd(8)
iykyk, the whole squad is linked up ๐ฆ๐
and that's the page, bestie โ no cap, you made it to the end ๐๐
this lil beauty is from perl v5.44.0, dated 2026-10-17 โ screenshot it, bookmark it, tattoo it, whatever you gotta do ๐โจ๐ธ
๐ฆ 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