dnssec-tools.conf
Configuration file for the DNSSEC-Tools programs.
- Provided by: dnssec-tools (Version: 2.0-1)
- Report a bug
Configuration file for the DNSSEC-Tools programs.
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.
The following records are recognized by the DNSSEC-Tools programs. Not every DNSSEC-Tools program requires each of these records.
This value is only used for key roll-over. Keys do not have a life-time in any other sense.
The default rollover action and requirements for user-written phase commands are described in the documentation for rollerd.
The default rollover action and requirements for user-written phase commands are described in the documentation for rollerd.
The default rollover action and requirements for user-written phase commands are described in the documentation for rollerd.
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".
This value is only used for key roll-over. Keys do not have a life-time in any other sense.
Several configuration fields measure various times. This section is a convenient reference for several common times, as measured in seconds.
3600 - hour
86400 - day
604800 - week
2592000 - 30-day month
15768000 - half-year
31536000 - year
The following is an example dnssec-tools.conf configuration file.
#
# Settings for DNSSEC-Tools administration.
#
admin-email tewok@squirrelking.net
#
# Paths to required programs. These may need adjusting for
# individual hosts.
#
keygen /usr/local/sbin/dnssec-keygen
rndc /usr/local/sbin/rndc
zonecheck /usr/local/sbin/named-checkzone
zonecheck-opts -i local -k ignore
zonesign /usr/local/sbin/dnssec-signzone
genkrf /usr/bin/genkrf
keyarch /usr/bin/keyarch
rollchk /usr/bin/rollchk
rollctl /usr/bin/rollctl
zonesigner /usr/bin/zonesigner
#
# The name of the Perl module that will be used to parse zone files.
#
zonefile-parser Bobs::Wonderful::DNS::Zone-Parse-Thingum
#
# Special processing for a couple of zone phases.
#
prog-ksk5 xfer-ds-epp !default ! adminmail mary bob
prog-ksk6 check-for-ds
#
# Settings for dnssec-keygen.
#
algorithm rsasha1
ksklength 2048
zsklength 1024
random /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-SAFE
default_keyrec default.krf
entropy_msg 0
savekeys 1
zskcount 1
#
# Settings for rollover-manager.
#
roll_logfile /usr/local/etc/dnssec-tools/log-rollerd
roll_loglevel info
roll_sleeptime 60
autosign 1
zone_errors 3
log_tz local
#
# GUI-usage flag.
#
usegui 0
Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
Wayne Morrison, tewok@tislabs.com
dtinitconf(8), dtconfchk(8), keyarch(8), rollerd(8), zonesigner(8)
Net::DNS::SEC::Tools::conf.pm(3), Net::DNS::SEC::Tools::keyrec.pm(3) Net::DNS::SEC::Tools::rollmgr.pm(3)