DTINITCONF(1)
π DTINITCONF π
okay so bestie, this is the dtinitconf page from the User Contributed Perl Documentation section of the manual β it's a Perl script that sets up your DNSSEC-Tools config file and honestly? it's giving "let me handle the boring part for you" energy. periodt. π
β¨ NAME β¨
dtinitconf β creates a DNSSEC-Tools configuration file πΈ
π¦ SYNOPSIS π¦
dtinitconf [options]
π DESCRIPTION π
So here's the whole vibe. The dtinitconf program initializes the DNSSEC-Tools configuration file. By default, it's gonna create the actual configuration file, but like, you can totally tell it which file you want instead β the created file is specifiable by the user. π
IMPORTANT bestie: existing files β whether it's the default one or one you specified yourself β will not be overwritten unless you specifically direct the program to do it. no accidental yeeting of your config. we respect boundaries here. π«Ά
Every single configuration field can be individually specified right there on the command line. iconic. β¨ And you'll also get prompted for the fields, with the default values pulled straight from the DNSSEC-Tools defaults.pm module. If you pass the -noprompt option, then a default configuration file gets created instead (modulo whatever command-line arguments you gave it) β no questions asked, just vibes. π
Now, configuration entries get created for several BIND programs, and finding those programs is a whole little scavenger hunt:
- First, the directories in the
pathenvironment variable get checked β and the names of any directories that contain the BIND programs get saved. π - Next, several common locations for BIND programs get checked β and again, the names of directories containing the BIND programs get saved. π
- After collecting all those directories, you get presented with the list and you can choose whichever set you want. main character decision-making moment, honestly. π
- If no directories are found that contain the BIND programs, then you get prompted for the proper location. ngl, at that point it's on you bestie. π
One more thing, and it's lowkey important: if the configuration file's parent directory doesn't exist, then an attempt is made to create the directory. π οΈ The new directory's ownership gets set to root for the owner and dnssec for the group β assuming the dnssec group actually exists, iykyk.
heads up: writability checks for the directory will not be performed if the -outfile option is given. so like, don't come crying to me about permissions, okay? π
β¨ OPTIONS β¨
dtinitconf has options that control what goes into the shiny new DNSSEC-Tools configuration file it's about to generate. Every single entry in that config file has a matching command-line option, bestie β it's a whole matching set. They're listed below in cute little logical groups, same as always. π
π Key-related Options
These ones are all about making and managing encryption keys.
-algorithm algorithmβ Picks the crypto algorithm. Whatever you put for algorithm has to be something the version ofdnssec-keygenyou've got installed actually recognizes.-kskcount KSK-countβ The default number of KSK keys that get created for a zone.-ksklength keylenβ The default KSK key length that gets passed along todnssec-keygen.-ksklife lifespanβ The default amount of time between KSK rollovers, measured in seconds. This has to fall inside the range between theminlifeandmaxlifevalues.
Heads up: this value is only used for key rollover. Keys do not have a life-time in any other sense. Like, none. Don't make it a thing. π
-maxlife maxlifespanβ The maximum amount of time between key rollovers, in seconds. Theksklifeandzsklifevalues must not be greater than this.
Same deal: only used for key rollover. Keys do not have a life-time in any other sense. π
-minlife minlifespanβ The minimum amount of time between key rollovers, in seconds. Theksklifeandzsklifevalues must not be less than this.
And again: only used for key rollover. Keys do not have a life-time in any other sense. periodt.
-zskcount ZSK-countβ The default number of ZSK keys that get created for a zone.-zsklength keylenβ The default ZSK key length that gets passed along todnssec-keygen.-zsklife lifespanβ The default amount of time between ZSK rollovers, in seconds. This has to be within theminlifetomaxliferange.
Yes bestie, one more time: only for key rollover. Keys do not have a life-time in any other sense. πΈ
-random randomdevβ The random device generator that gets passed todnssec-keygen.
πΊοΈ Zone-related Options
These are about zone signing and all its business.
-endtime endtimeβ The zone's default expiration time, passed along todnssec-signzone.
π§ trustman-related Options
These deal with running trustman and its various little tasks.
-genroothints roothintsβ A brand newroot.hintsfile gets created at the location you specify.dtinitconfrequires that the file does not already exist, so don't come in with leftovers.
The root.hints file is fetched from http://www.internic.net/zones/named.root. If dtinitconf can't grab the file, that is not considered a fatal error β instead you get a warning message and the creation of the configuration file just keeps on going. resilient queen. π
-ta-contact emailβ The email address of thetrustmanadministrator.-ta-resolvconf resolvconffileβ Where theresolv.conffile lives.-ta-smtpserver hostnameβ The SMTP server for thetrustmancommand.-ta-tmpdir hostnameβ The temporary directory for thetrustmancommand.
π¦ BIND Options
These are specifically about functionality that BIND itself provides.
-rndc rndc-pathβrndcis the path to BIND'srndccommand.
π DNSSEC-Tools Options
These deal specifically with stuff DNSSEC-Tools provides.
-admin email-addressβ admin is the email address of the DNSSEC-Tools administrator. This is the default address used by thedt_adminmail()routine.-archivedir directoryβ directory is the archived-key directory. Old encryption keys get moved here, but only if they're meant to be saved and not deleted.-autosignβ A flag sayingrollerdshould automatically sign zonefiles it finds to be newer than their signed zonefile. If-noautosignis given, this gets set to false.-binddir directoryβ directory is where the BIND programs live. If you pass the reserved word"path", then the existence of the BIND programs is not verified whendtinitconfruns β instead, the user'sPATHdirectories get searched for the BIND programs whenever the DNSSEC-Tools are executed. no cap.-dtdir directoryβ directory is where the DNSSEC-Tools programs live. If you pass the reserved word"path", then the existence of the DNSSEC-Tools programs is not verified whendtinitconfruns β instead, the user'sPATHdirectories get searched for the DNSSEC-Tools programs when those tools get executed. β¨-entropy_msgβ A flag sayingzonesignershould display a message about entropy generation. This mainly depends on how a system's random number generation is implemented.-mailer-server hostβ The mail server thatdt_adminmail()will contact. This gets passed toMail::Send.-mailer-server mailtypeβ The mail type thatdt_adminmail()will contact. This gets passed toMail::Mailer(by way ofMail::Send). Any valuesMail::Mailerrecognizes are fair game here.-noentropy_msgβ A flag sayingzonesignershould not display a message about entropy generation. Again, this mainly depends on the system's random number generation implementation.-roll-loadzone,-no-roll-loadzoneβ Flags saying whether or notrollerdshould have the DNS daemon load zones.-roll-logfile logfileβ logfile is the logfile for therollerddaemon.-roll-loglevel loglevelβ loglevel is the logging level for therollerddaemon.-roll-phasemsg lengthβ length is the default length of phase-related log messages used byrollerd. The valid levels are"long"and"short", and"long"is the default.
The long message length means a phase description gets included with some log messages. Example: the long form of a message about ZSK rollover phase 3 looks like "ZSK phase 3 (Waiting for old zone data to expire from caches)".
The short message length means a phase description is not included with some log messages. Example: the short form of a message about ZSK rollover phase 3 looks like "ZSK phase 3".
-roll-sleeptime sleep-timeβ sleep-time is the sleep-time for therollerddaemon.-roll-username usernameβ username is the user that therollerddaemon will be executed as. If this is a username, it must correspond to a valid uid; if it's a uid, it must correspond to a valid username. mutual, bestie. π«Ά-roll-logtz logtzβloglevelis the timezone of the message timestamp forrollerd's logfile. (yes, it saysloglevelthere, that's literally what the page says, iykyk π)-zoneerrs error-countβ error-count is the maximum error count for zones used by therollerddaemon.-savekeysβ A flag saying old keys should be moved to the archive directory.-nosavekeysβ A flag saying old keys should not be moved to the archive directory, and instead just get left in place.-useguiβ A flag saying the GUI for specifying command options may be used.-nouseguiβ A flag saying the GUI for specifying command options should not be used.-zoneparser parser-moduleβ parser-module is the name of the Perl module that'll be used to parse zone files. The default is specified indnssec_tools_default().
π dtinitconf Options
And these are the ones that are all about dtinitconf itself.
-outfile conffileβ The configuration file gets written to conffile. If you don't give this, then the default configuration file (whateverNet::DNS::SEC::Tools::conf::getconffile()returns) is used.
If conffile is given as -, then the new configuration file gets written to standard output. slay.
conffile must be writable.
-overwriteβ If-overwriteis specified, existing output files may be overwritten. Without-overwrite, if the output file already exists thendtinitconfgives you an error message and exits. no sneaky overwrites around here.-nopromptβ If-nopromptis specified, you will not be prompted for any input at all. The configuration file gets created from the command-line options plus DNSSEC-Tools defaults, and guesses get made for the BIND paths based on thePATHenvironment variable.
WARNING: After using the -noprompt option, the configuration file must be checked to make sure the defaults are appropriate and acceptable for the installation. Do not skip this, fr fr. π
-templateβ If-templateis specified, a default configuration file is created β except every single entry is commented out.
The only command line options you may use alongside -template are -outfile and -overwrite. That's it, that's the list.
-editβ If-editis specified, the output file gets edited after it's been created. TheEDITORenvironment variable is consulted for which editor to use. If theEDITORenvironment variable isn't defined, then thevieditor gets used.-verboseβ Provide verbose output.-Versionβ Displays the version information fordtinitconfand the DNSSEC-Tools package.-helpβ Display a usage message and exit.
π COPYRIGHT
Copyright 2006-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
dnssec-keygen(8), dnssec-signzone(8), named-checkzone(8), keyarch(8), rollckk(8), rollerd(8), zonesigner(8)
Net::DNS::SEC::Tools::conf.pm(3), Net::DNS::SEC::Tools::defaults.pm(3), Net::DNS::SEC::Tools::dnssectools.pm(3), Net::DNS::SEC::Tools::tooloptions.pm(3), QWizard.pm(3)
dnssec-tools.conf(5)
and that's the whole page bestie!! π this one's perl v5.42.0, dated 2025-07-23, and it's page DTINITCONF(1) β go forth and configure, you absolute icon π
β¨π
π¦ 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