REALMCTL(1)
π REALMCTL(1) β User Contributed Perl Documentation, but make it group-chat π
okay so this is the manual for realmctl, and it's giving very "I know Unix and I want my bestie to know it too" energy. No cap, every flag and every warning is still here. Let's go π
β¨ NAME β¨
realmctl β send commands to the DNSSEC-Tools realms daemon.
π¦ SYNOPSIS π¦
realmctl [options]
πΈ DESCRIPTION πΈ
The realmctl command sends commands to dtrealms, the DNSSEC-Tools realms daemon. In most cases, dtrealms will send a response to realmctl. realmctl will print a success or failure message, as appropriate. Only one option may be specified on a command line. Periodt π
π OPTIONS π
The following options are handled by realmctl. Bestie, this is the whole list β no skips, no "you'll figure it out" energy.
-allstartβ starts all suspended realms. slay, wake them up β¨-allstopβ stops all running realms. okay everybody chill π-cmd -- realm cmd args,-command -- realm cmd argsβ sends a command to the specified realm. The command given ascmdwill be sent to therollerdrunning in realmrealm.
The double-dash given above is critical for proper argument parsing of the command line.
All command-line arguments, as args above, following the realm name and command name will be sent as the command.
Whatever output the command gives will be returned to realmctl, which will then print that output. The command's return code will be appended to the command's output. No attempt will be made to analyze the output for success or failure.
For example, this command will tell the realm giant-isp to stop rollover of zone bob.example.com:
$ realmctl -command -- giant-isp rollctl -skipzone bob.example.com
β οΈ Warning: This is an inherently dangerous command. When choosing a user under which the realm and rollover commands will be executed, be aware that this problem exists. realmctl may be modified in the future to restrict the commands that may be executed with this option. Like, for real, be careful with this one π
-displayβ starts the realms status GUI. cute lil window moment π«Ά-halt [now]β cleanly haltsdtrealmsexecution.-logfile logfileβ sets thedtrealmslog 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 thedtrealmslogging level tologlevel. This must be one of the valid logging levels defined inrealmmgr.pm(3).
If a logging level is not specified, then the list of valid levels will be printed and realmctl will exit. The list is given in both text and numeric forms.
-logtz logtzβ sets thedtrealmslogging timezone tologlevel. This must be eithergmt(for Greenwich Mean Time orlocal(for the host's local time.)-nodisplayβ stops the realms status GUI. bye bye window π-realmstatusβ gets the current status of all the realms fromdtrealms. For each realm, the name, execution status, and zone counts are printed. The zone counts are, in order, the number of zones in normal state, the number of zones in ZSK rollover, the number of zones in KSK rollover, and the number of zones waiting in KSK phase 6. The zone counts are determined by sending the realm's rollover manager an information request. Therefore, if the zone is inactive, the zone counts are not included.
Example:
dev active normal: 18 ZSK: 3 KSK: 1 KSK phase 6: 0
test-r inactive
money active normal: 10 ZSK: 0 KSK: 0 KSK phase 6: 1
-shutdownβ synonym for-halt. same vibe, different name π-startrealm realmβ starts the suspended realm named byrealm. Multiple realms can be specified on the command line. For instance, this command will send thestartrealmcommand todtrealmsfor three realms.
$ realmctl -startrealm testing production customers
-statusβ hasdtrealmswrite several of its operational parameters to its log file. The parameters are also reported torealmctl, which prints them to the screen.-stoprealm realmβ stops the realm named byrealm. Multiple realms can be specified on the command line. For instance, this command will send thestoprealmcommand todtrealmsfor two realms.
$ realmctl -stoprealm big-isp-3 misc-customers
-Versionβ displays the version information forrealmctland the DNSSEC-Tools package. capital V, bestie, that's the vibe π-quietβ prevents output from being given. Both error and non-error output is stopped. shhh π€«-helpβ displays a usage message. the classic "help me help you" moment π
π EXIT CODES π
realmctl may give the following exit codes:
0β Successful execution1β Error sending the command todtrealms.2β Missing realm argument.3β Too many command options specified.4β Missing argument for-cmdor-command.5β No option specified.200βdtrealmsis not running.201β Configuration file checks failed.
π 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 π
Net::DNS::SEC::Tools::realmmgr.pm(3),Net::DNS::SEC::Tools::realm.pm(3)dtrealms(8),rollctl(8)rollerd(8)
Signed, sealed, delivered: perl v5.44.0, 2026-10-17, REALMCTL(1) β and yes bestie, this page ate π
πβ¨
π¦ 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