TRUSTMAN(1)
π TRUSTMAN(1) π
okay so this is trustman, from the User Contributed Perl Documentation corner of the universe, and bestie, it's literally the keychain manager for DNSSEC trust anchors. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
trustman β manage keys used as trust anchors π
β¨ SYNOPSIS β¨
trustman [options]
β¨ DESCRIPTION β¨
so trustman manages the keys that DNSSEC uses as trust anchors, and it does it in compliance with RFC5011. she can run as a daemon for ongoing key verification, or you can run her by hand for initialization and one-time key verification. main character energy either way π
By default, trustman runs as a daemon, making sure that keys stored locally in configuration files still match the same keys fetched from the zone where they're defined. And if you don't wanna just let her vibe in the background, those same checks can be run once manually (-S) and in the foreground (-f).
For each key mismatch check, if key mismatches are detected then trustman performs the following operations:
- sets an add hold-down timer for new keys;
- sets a remove hold-down timer for missing keys;
- removes revoked keys from the configuration file.
On subsequent runs, the timers are checked. If the timers have expired, keys are added to or removed from the configuration file, as appropriate. clock's up, key, time to go π
named.conf and dnsval.conf are the usual configuration files. These files must be specified in the DNSSEC-Tools configuration file or in command line options.
β¨ OPTIONS β¨
trustman takes a number of options, each of which is described in this section. Each option name may be shortened to the minimum number of unique characters, but some options also have an alias (as noted). The single-letter form of each option is denoted in parentheses, e.g.: -anchor_data_file (-a).
-anchor_data_filefile (-a) β a persistent data file for storing new keys waiting to be added. the waiting room, if you will πͺ-configfile (-c) β create a configuration file fortrustmanfrom the command line options given. The existing DNSSEC-Tools configuration file is copied to the specified configuration file, and new configuration entries are appended corresponding to the command line options.trustman-specific entries already in the existing configuration file will be replaced with new entries from the command line. This will allow fewer command line options to be specified in the future. future you says thank you π-dnsval_conf_file/path/to/dnsval.conf (-k) β adnsval.conffile to read, and possibly be updated.-dtconfigconfig_file (-d) β 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. it goes first, no cutting the line π«-foreground(-f) β run in the foreground.trustmanwill still run in a loop. To run once, use the-single_runoption instead.-hold_timeseconds (-w) β the value of the hold-down timer. This is the number of seconds from the time that a new key is found. Generally, the default and recommended value of 30 days should be used. trust the process (and the 30 days) β¨-mail_contact_addremail_address (-m) β mail address for the contact person to whom reports should be sent.-monitor(-M) β indicates thattrustmanwas run from a monitoring system, and a summary of events will be printed. Specifying this option automatically turns on the-single_runoption and turns off the-verboseoption.
This was developed for use with the Nagios monitoring system, but it can be adapted for other monitors.
-named_conf_file/path/to/named.conf (-n) β anamed.conffile to read, and possibly update.-nomailβ prevents mail from being sent, even if an SMTP server was specified in the configuration file. This is useful for only sending notifications via stdout (-p) or syslog (-L).-norevokeβ this option turns off checks for theREVOKEbit.-no_error(-N) β send report even when there are no errors. (yes, she'll text you even when nothing happened π±)-print(-p) β log messages to stdout.-resolv_conf_fileconffile (-r) β aresolv.conffile to read./dev/nullcan be specified to forcelibvalto recursively answer the query rather than asking other name servers.)-root_hints_file/path/to/root.hints (-o) β aroot.hintsfile to read.-single_run(-S) β do not loop, but run only once.-sleeptimeseconds (-t) β the number of seconds to sleep between checks. Default is3600(one hour.)-smtp_serversmtpservername (-s) β the SMTP server thattrustmanshould use to send reports by mail.-syslog(-L) β log messages to syslog.-tmp_dirdirectory (-T) β specifies where temporary files should be created. This is used when creating new versions of thednsval.confandnamed.conffiles before they are moved into place.
Files created in this directory will be renamed to their final location. You should ensure that this directory, the final dnsval.conf location, and the final named.conf location are on the same disk partition. Most operating systems will only rename files within a partition and will give an error if told to rename a file from one partition to another. not me finding this out the hard way π
-zonezone (-z) β the zone to check. Specifying this option supersedes the default configuration file.-help(-h) β display a help message.-verbose(-v) β gives verbose output.-Version(-V) β displays the version information fortrustmanand the DNSSEC-Tools package.
β¨ CONFIGURATION β¨
In addition to the command line arguments, the dnssec-tools.conf file can be configured with the following values to remove the need to use some of the command-line options. The command-line options always override the settings in the dnssec-tools.conf file. (command line is the main character, the conf file is the supporting role π
)
taanchorfilefile β this specifies the file wheretrustmanstate information will be kept. This is equivalent to the-anchor_data_fileflag.tacontactcontact_email β this is equivalent to the-mail_contact_addrflag for specifying to whom email notices will be sent.tadnsvalconffilefile β this specifies thednsval.conffile to read and write. This is equivalent to the-dnsval_conf_fileflag.tanamedconffilefile β this specifies thenamed.conffile to read and write. This is equivalent to the-named_conf_fileflag.taresolvconffilefile β this specifies theresolv.conffile to use. This is equivalent to the-resolv_conf_fileflag.taroothintsfilefile β this specifies theroot.hintsfile to read. This is equivalent to the-root_hints_fileflag.tasmtpserverservername β this is equivalent to the-smtp_serverflag for specifying the SMTP server to which email notices will be sent.tatmpdirdirectory β this specifies where temporary files should be created. This is used when creating new versions of thednsval.confandnamed.conffiles before they're moved into place.
See the note about renaming in the description of the -tmp_dir option.
β¨ EXIT CODES β¨
trustman may exit for the following reasons:
0β Successful execution. In daemon mode, this may just mean that the daemon was successfully started. The daemon itself may exit with some other error.1β Invalid options were specified.2β No new-key file was specified.3β Unable to open the new-key file.4β Unable to determine a set of zones to check.5β Some form of file-management error was encountered.
β¨ COPYRIGHT β¨
Copyright 2006-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
Author
Lindy Foster
(Current contact for trustman is Wayne Morrison, tewok@tislabs.com.)
β¨ SEE ALSO β¨
Net::DNS::SEC::Tools::conf.pm(3), Net::DNS::SEC::Tools::defaults.pm(3),
dnssec-tools.conf(5)
that's the whole page bestie, you ate it π oh and this lil beauty is perl v5.42.0, dated 2025-07-23 β so go forth and manage those trust anchors, 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