dnssec-tools.conf5
Overview
This file contains configuration information for the DNSSEC-Tools programs. These configuration data are used if nothing else has been specified for a particular program. The conf.pm module is used to parse this configuration file.
The recognized configuration fields are described in the Configuration Records section below. Some configuration entries are optional and a configuration file need not contain a complete list of entries.
A line in the configuration file contains either a comment or a configuration entry. Comment lines start with either a '#' character or a ';' character. Comment lines and blank lines are ignored by the DNSSEC-Tools programs.
Configuration entries are in a keyword/value format. The keyword is a character string that contains no whitespace. The value is a tokenized list of the remaining character groups, with each token separated by a single space.
True/false flags must be given a 1 (true) or 0 (false) value.
Configuration Records
The following records are recognized by the DNSSEC-Tools programs. Not every DNSSEC-Tools program requires each of these records.
- admin-email
-
The email address for the DNSSEC-Tools administrator.
- algorithm
-
The default encryption algorithm to be passed to
dnssec-keygen.
- archivedir
-
The pathname to the archived-key directory.
- autosign
-
A true/false flag indicating if
rollerdshould automatically sign zonefiles that have been modified more recently than their signed versions.
- default_keyrec
-
The default keyrec filename to be used by the
keyrec.pmmodule.
- endtime
-
The zone default expiration time to be passed to
dnssec-signzone.
- entropy_msg
-
A true/false flag indicating if the
zonesignercommand should display a message about entropy generation. This is primarily dependent on the implementation of a system's random number generation.
- genkrf
-
The path to the DNSSEC-Tools
genkrfcommand.
- keyarch
-
The path to the DNSSEC-Tools
keyarchcommand.
- keygen
-
The path to the
dnssec-keygencommand.
- keygen-opts
-
Options to pass to the
dnssec-keygencommand.
- kskcount
-
The default number of KSK keys that will be generated for each zone.
- ksklength
-
The default KSK key length to be passed to
dnssec-keygen.
- ksklife
-
The default length of time between KSK roll-overs. This is measured in seconds.
This value is
onlyused for key roll-over. Keys do not have a life-time in any other sense.
- lifespan-max
-
The maximum length of time a key should be in use before it is rolled over. This is measured in seconds.
- lifespan-min
-
The minimum length of time a key should be in use before it is rolled over. This is measured in seconds.
- log_tz
-
The timezone to be used in log messages. The value may be either 'gmt' (for Greenwich Mean Time) or 'local' (for the host's local time.)
- mailer-server
-
The mail server that will be contacted by dt_adminmail(). This is passed to Mail::Send. The default value is
localhost.
- mailer-type
-
The type of mailer that will be contacted by dt_adminmail(). This is passed to Mail::Mailer (by way of Mail::Send.) Any values recognized by Mail::Mailer may be used here. The default value is
stmp.
- prog-ksk1 ... prog-ksk7
-
A bang-separated list commands to run when a zone enters a particular KSK rollover phase. The programs can replace default rollover actions or be executed in addition to the default actions. The default keyword must be included if the default action should be taken. Options and arguments may be passed to non-default commands.
The default rollover action and requirements for user-written phase commands are described in the documentation for
rollerd.
- prog-normal
-
A bang-separated list commands to run when a zone enters the normal, non-rollover phase. The programs can replace default actions or be executed in addition to the default actions. The default keyword must be included if the default action should be taken. Options and arguments may be passed to non-default commands.
The default rollover action and requirements for user-written phase commands are described in the documentation for
rollerd.
- prog-zsk1 ... prog-zsk7
-
A bang-separated list commands to run when a zone enters a particular ZSK rollover phase. The programs can replace default rollover actions or be executed in addition to the default actions. The default keyword must be included if the default action should be taken. Options and arguments may be passed to non-default commands.
The default rollover action and requirements for user-written phase commands are described in the documentation for
rollerd.
- random
-
The random device generator to be passed to
dnssec-keygen.
- rndc
-
The path to the
rndccommand.
- roll_loadzone
-
A flag indicating if
rollerdshould have the DNS daemon reload zones.
- roll_logfile
-
The log file used by
rollerd.
- roll_loglevel
-
The default logging level used by
rollerd. The valid levels are defined and described in rollmgr.pm.
- roll_phasemsg
-
The default length of phase-related log messages used by
rollerd. The valid levels are "long" and "short", with "long" being the default value.The long message length means that a phase description will be included with some log messages. For example, the long form of a message about ZSK rollover phase 3 will look like this: "ZSK phase 3 (Waiting for old zone data to expire from caches)".
The short message length means that a phase description will not be included with some log messages. For example, the short form of a message about ZSK rollover phase 3 will look like this: "ZSK phase 3".
- roll_sleeptime
-
The number of seconds
rollerdmust wait at the end of each zone-checking cycle.
- roll_username
-
The username that
rollerdwill be run by. The name will be converted to its associated uid, and the effective uid of therollerdprocess will be set to that uid. This may be given as a user name or a uid.
- rollctl
-
The path to the DNSSEC-Tools
rollctlcommand.
- savekeys
-
A true/false flag indicating if old keys should be moved to the archive directory.
- usegui
-
Flag to allow/disallow usage of the GUI for specifying command options.
- zonecheck
-
The path to the
named-checkzonecommand.
- zonecheck-opts
-
Options to pass to the
named-checkzonecommand.
- zone_errors
-
The maximum number of consecutive errors a zone may have. When This is exceeded,
rollerdwill mark the zone as a skip zone. If this value is zero, or isn't included in the file, then error conditions will not affect a zone's roll/skip status. This may be overridden by the maxerrors field in a zone's entry in a rollrec file.
- zonesign
-
The path to the
dnssec-signzonecommand.
- zonesign-opts
-
Options to pass to the
dnssec-signzonecommand.
- zonesigner
-
The path to the DNSSEC-Tools
zonesignercommand.
- zskcount
-
The default number of ZSK keys that will be generated for each zone.
- zsklength
-
The default ZSK key length to be passed to
dnssec-keygen.
- zsklife
-
The default length of time between ZSK roll-overs. This is measured in seconds.
This value is
onlyused for key roll-over. Keys do not have a life-time in any other sense.
Sample Times
Several configuration fields measure various times. This section is a convenient reference for several common times, as measured in seconds.
3600 - hour86400 - day604800 - week2592000 - 30-day month15768000 - half-year31536000 - year
Example File
The following is an example dnssec-tools.conf configuration file.
## Settings for DNSSEC-Tools administration.#admin-email [email protected]## Paths to required programs. These may need adjusting for# individual hosts.#keygen /usr/local/sbin/dnssec-keygenrndc /usr/local/sbin/rndczonecheck /usr/local/sbin/named-checkzonezonecheck-opts -i local -k ignorezonesign /usr/local/sbin/dnssec-signzonegenkrf /usr/bin/genkrfkeyarch /usr/bin/keyarchrollchk /usr/bin/rollchkrollctl /usr/bin/rollctlzonesigner /usr/bin/zonesigner## Special processing for a couple of zone phases.#prog-ksk5 xfer-ds-epp !default ! adminmail mary bobprog-ksk6 check-for-ds## Settings for dnssec-keygen.#algorithm rsasha1ksklength 2048zsklength 1024random /dev/urandom## Settings for dnssec-signzone.#endtime +2592000 # RRSIGs good for 30 days.## Life-times for keys. These defaults indicate how long a key has# between roll-overs. The values are measured in seconds.#ksklife 15768000 # Half-year.zsklife 604800 # One week.lifespan-max 94608000 # Two years.lifespan-min 3600 # One hour.## Settings that will be noticed by zonesigner.#archivedir /usr/local/etc/dnssec-tools/KEY-SAFEdefault_keyrec default.krfentropy_msg 0savekeys 1zskcount 1## Settings for rollover-manager.#roll_logfile /usr/local/etc/dnssec-tools/log-rollerdroll_loglevel inforoll_sleeptime 60autosign 1zone_errors 3log_tz local## GUI-usage flag.#usegui 0
Releases
2 releases since Debian 6.0 (Squeeze); the text changed 1 time.