TRUSTMAN(1)

πŸ“¦ version 2.2.3, in arch rolling

🌸 TRUSTMAN(1) β€” the trustman girlies' guide 🌸

okay so real quick, this is a User Contributed Perl Documentation page for the manual entry trustman, and bestie, it's lowkey iconic β€” it's the whole "who do we even trust" of DNSSEC. Let's get into it πŸ’…


✨ NAME ✨

trustman β€” literally the key manager for keys used as trust anchors. girlboss behavior only πŸ”‘


πŸŽ€ SYNOPSIS πŸŽ€

trustman [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so trustman manages the keys that DNSSEC uses as trust anchors, and it does it in compliance with RFC5011. It can vibe as a daemon for ongoing key verification πŸ‘‘ or you can run it manually for initialization and one-time key verification.

By default, trustman runs as a daemon to make sure the keys stored locally in configuration files still match the same keys fetched from the zone where they're defined. And also β€” you can run these checks once manually (-S) and in the foreground (-f). slay.

so like, for each key mismatch check, if key mismatches are detected then trustman does all of this:

  • 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 get checked. If the timers have expired, keys are added to or removed from the configuration file, as appropriate. it's giving "patience is a virtue" 🧚

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 β€” no cap.


πŸ’– 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). iykyk 😌

  • -anchor_data_file file (-a) β€” A persistent data file for storing new keys waiting to be added. it's the waiting room 🫢
  • -config file (-c) β€” Create a configuration file for trustman from 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) β€” A dnsval.conf file to read, and possibly be updated.
  • -dtconfig config_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. main character energy, it goes first πŸŽ€
  • -foreground (-f) β€” Run in the foreground. trustman will still run in a loop. To run once, use the -single_run option instead. don't get it twisted ⭐
  • -hold_time seconds (-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.
  • -mail_contact_addr email_address (-m) β€” Mail address for the contact person to whom reports should be sent. πŸ“§
  • -monitor (-M) β€” Indicates that trustman was run from a monitoring system, and a summary of events will be printed. Specifying this option automatically turns on the -single_run option and turns off the -verbose option. This was developed for use with the Nagios monitoring system, but it can be adapted for other monitors. it's flexible like that πŸ¦‹
  • -named_conf_file /path/to/named.conf (-n) β€” A named.conf file 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 the REVOKE bit.
  • -no_error (-N) β€” Send report even when there are no errors. she's thorough ✨
  • -print (-p) β€” Log messages to stdout.
  • -resolv_conf_file conffile (-r) β€” A resolv.conf file to read. /dev/null can be specified to force libval to recursively answer the query rather than asking other name servers.)
  • -root_hints_file /path/to/root.hints (-o) β€” A root.hints file to read.
  • -single_run (-S) β€” Do not loop, but run only once.
  • -sleeptime seconds (-t) β€” The number of seconds to sleep between checks. Default is 3600 (one hour.) nap time bestie 😴
  • -smtp_server smtpservername (-s) β€” The SMTP server that trustman should use to send reports by mail.
  • -syslog (-L) β€” Log messages to syslog.
  • -tmp_dir directory (-T) β€” Specifies where temporary files should be created. This is used when creating new versions of the dnsval.conf and named.conf files 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.

⚠️ bestie please actually read that partition thing, cross-partition renames are a whole heartbreak πŸ’€
  • -zone zone (-z) β€” The zone to check. Specifying this option supersedes the default configuration file.
  • -help (-h) β€” Display a help message.
  • -verbose (-v) β€” Gives verbose output. she talks πŸ—£οΈ
  • -Version (-V) β€” Displays the version information for trustman and 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. (cli stays winning πŸ‘‘)

  • taanchorfile file β€” This specifies the file where trustman state information will be kept. This is equivalent to the -anchor_data_file flag.
  • tacontact contact_email β€” This is equivalent to the -mail_contact_addr flag for specifying to whom email notices will be sent.
  • tadnsvalconffile file β€” This specifies the dnsval.conf file to read and write. This is equivalent to the -dnsval_conf_file flag.
  • tanamedconffile file β€” This specifies the named.conf file to read and write. This is equivalent to the -named_conf_file flag.
  • taresolvconffile file β€” This specifies the resolv.conf file to use. This is equivalent to the -resolv_conf_file flag.
  • taroothintsfile file β€” This specifies the root.hints file to read. This is equivalent to the -root_hints_file flag.
  • tasmtpserver servername β€” This is equivalent to the -smtp_server flag for specifying the SMTP server to which email notices will be sent.
  • tatmpdir directory β€” This specifies where temporary files should be created. This is used when creating new versions of the dnsval.conf and named.conf files before they're moved into place.
🫢 see the note about renaming in the description of the -tmp_dir option. same energy, same partition warning.

⭐ 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. πŸ’€ (yes, zero is a little bit of a liar sometimes)
  • 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 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)

and that's the whole page babes πŸŽ€ this came to you via perl v5.44.0, dated 2026-10-17, and it's TRUSTMAN(1) all the way down β€” go set your anchor data file and live your truth πŸ’–βœ¨

πŸ“¦ where this page comes from