REALMCTL(1)
π realmctl(1) β the DNSSEC-Tools realms daemon whisperer π
okay so bestie, welcome to realmctl, a User Contributed Perl Documentation classic. she's a little command-line girly whose whole job is sliding into the DMs of dtrealms, the DNSSEC-Tools realms daemon. no cap.
β¨ SYNOPSIS β¨
realmctl [options]
πΈ DESCRIPTION πΈ
so basically, realmctl sends commands to dtrealms, the DNSSEC-Tools realms daemon. in most cases, dtrealms will clap back with a response to realmctl. realmctl then prints a success or failure message, as appropriate, like the good little messenger she is. π
bestie, listen: only one option may be specified on a command line. one. that's the vibe check. don't be greedy. π
π OPTIONS π
the following options are handled by realmctl. she's got range.
-allstartβ starts all the suspended realms. wakey wakey, everyone up. β-allstopβ stops all the running realms. nap time for the whole kingdom. π€-cmd -- realm cmd argsβ sends a command to the specified realm, iykyk. the command you give as cmd gets sent to therollerdrunning inside realm realm.-command -- realm cmd argsβ same energy as-cmd, just the longer, more dramatic spelling. sends a command to the specified realm, and the command given as cmd is sent to therollerdrunning in realm realm.
β okay the double-dash shown up there is critical for proper argument parsing of the command line. like, do not skip it. she will simply not understand you without it. π
all the command-line arguments β that's the args up there β that come after the realm name and the command name will be sent as the command. whatever output the command gives gets returned to realmctl, who then prints that output. the command's return code will be appended to the command's output. and no attempt is made to analyze the output for success or failure β she's just the messenger, not a detective. π΅οΈβοΈ
for example, this command tells 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. bestie. when you're choosing the 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. so like, be careful, fr fr. π
-displayβ starts the realms status GUI. β¨ pretty pixels β¨-halt [now]β cleanly haltsdtrealmsexecution. a graceful exit, the way a main character leaves a party. π-logfile logfileβ sets thedtrealmslog file to logfile. this must be a valid logging file, meaning that if logfile already exists, it must be a regular file. the only exceptions to this are if logfile is/dev/stdoutor/dev/tty. those two get a free pass, iconic behavior. π«-loglevel loglevelβ sets thedtrealmslogging level to loglevel. 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 β she's thorough like that. π
-logtz logtzβ sets thedtrealmslogging timezone to loglevel (yes, that's genuinely what the original page says right here β typo era, but we keep the receipts). this must be eithergmt(for Greenwich Mean Time) orlocal(for the host's local time). π-nodisplayβ stops the realms status GUI. bye bye pixels. π-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. those 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. no data, no drama. π βοΈ
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 girl, different name tag. π«Ά-startrealm realmβ starts the suspended realm named by realm. multiple realms can be specified on the command line. for instance, this command sends 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, who prints them to the screen. double the exposure, double the slay. β¨-stoprealm realmβ stops the realm named by realm. multiple realms can be specified on the command line. for instance, this command sends thestoprealmcommand todtrealmsfor two realms:
$ realmctl -stoprealm big-isp-3 misc-customers
-Versionβ displays the version information forrealmctland the DNSSEC-Tools package. (capital V bestie, don't fumble it.) π-quietβ prevents output from being given. both error and non-error output is stopped. silence, but make it intentional. π€«-helpβ displays a usage message. she's happy to explain herself. π
π 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)
and that's the whole page, bestie β written by the perl girlies over at perl v5.42.0, dated 2025-07-23, filed under User Contributed Perl Documentation. go forth and command your realms. periodt. π β¨
π¦ 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