Create the DNSSEC-Tools Configuration File

The DNSSEC-Tools configuration file contains many settings for customizing the DNSSEC-Tools suite of programs. The setting include things such as default authentication algorithm, directory for archived authentication keys, paths to various helper programs, and lengths of authentication keys. Configuration entries are in a keyword/value format. The keyword is a character string and the value is data associated with that keyword. /usr/local/etc/dnssec/dnssec-tools.conf is the default location for the configuration file.

The dtinitconf command will create a new DNSSEC-Tools configuration file. Command options will allow for automatic customization of the file. It is a plain text file, so any normal text editor (e.g., vi or emacs) may be used to modify the configuration file.

Several example option settings are given below. The man page for dnssec-tools.conf should be consulted for a complete list of possible options. Each option has a recommended setting, but that setting should not be considered a universally correct setting.

Table 2.1. DNSSEC-Tools Configuration Options

OptionDescriptionRecommended Setting
algorithmThe cryptographic algorithm to use for the keys.rsasha1
endtimeThe lifetime of the signatures.+2592000 (30 days)
ksklengthThe length of the KSK key.2048
zsklengthThe length of the ZSK key.1024