dnssec-settime.docbook revision a6ca100924894cdd8e2b791d75a8cef32b1fba1f
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews [<!ENTITY mdash "—">]>
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Copyright (C) 2009-2011, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Permission to use, copy, modify, and/or distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refentryinfo>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </refentryinfo>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refentrytitle><application>dnssec-settime</application></refentrytitle>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews <refnamediv>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refname><application>dnssec-settime</application></refname>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refpurpose>Set the key timing metadata for a DNSSEC key</refpurpose>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </refnamediv>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </copyright>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <refsynopsisdiv>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <arg><option>-L <replaceable class="parameter">ttl</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-P <replaceable class="parameter">date/offset</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-A <replaceable class="parameter">date/offset</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-R <replaceable class="parameter">date/offset</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-I <replaceable class="parameter">date/offset</replaceable></option></arg>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <arg><option>-D <replaceable class="parameter">date/offset</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <arg><option>-E <replaceable class="parameter">engine</replaceable></option></arg>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </cmdsynopsis>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </refsynopsisdiv>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews reads a DNSSEC private key file and sets the key timing metadata
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as specified by the <option>-P</option>, <option>-A</option>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <option>-R</option>, <option>-I</option>, and <option>-D</option>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein options. The metadata can then be used by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <command>dnssec-signzone</command> or other signing software to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determine when a key is to be published, whether it should be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used for signing a zone, etc.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews If none of these options is set on the command line,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then <command>dnssec-settime</command> simply prints the key timing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein metadata already stored in the key.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When key metadata fields are changed, both files of a key
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pair (<filename>Knnnn.+aaa+iiiii.key</filename> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <filename>Knnnn.+aaa+iiiii.private</filename>) are regenerated.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Metadata fields are stored in the private file. A human-readable
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater description of the metadata is also placed in comments in the key
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file. The private file's permissions are always set to be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein inaccessible to anyone other than the owner (mode 0600).
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews <variablelist>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Force an update of an old-format key with no metadata fields.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Without this option, <command>dnssec-settime</command> will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein fail when attempting to update a legacy key. With this option,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the key will be recreated in the new format, but with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein original key data retained. The key's creation date will be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein set to the present time. If no other values are specified,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then the key's publication and activation dates will also
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be set to the present time.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <term>-K <replaceable class="parameter">directory</replaceable></term>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sets the directory in which the key files are to reside.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <term>-L <replaceable class="parameter">ttl</replaceable></term>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sets the default TTL to use for this key when it is converted
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater into a DNSKEY RR. If the key is imported into a zone,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this is the TTL that will be used for it, unless there was
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews already a DNSKEY RRset in place, in which case the existing TTL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein would take precedence. If this value is not set and there
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater is no existing DNSKEY RRset, the TTL will default to the
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater SOA TTL. Setting the default TTL to <literal>0</literal>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater or <literal>none</literal> removes it from the key.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Emit usage message and exit.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Prints version information.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <varlistentry>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <term>-v <replaceable class="parameter">level</replaceable></term>