dnssec-keymgr.docbook revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync - Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync - This Source Code Form is subject to the terms of the Mozilla Public
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync - License, v. 2.0. If a copy of the MPL was not distributed with this
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync - file, You can obtain one at http://mozilla.org/MPL/2.0/.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="man.dnssec-keymgr">
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refentryinfo>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync </refentryinfo>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refentrytitle><application>dnssec-keymgr</application></refentrytitle>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refnamediv>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refname><application>dnssec-keymgr</application></refname>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refpurpose>Ensures correct DNSKEY coverage for a zone based on a defined policy</refpurpose>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync </refnamediv>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <copyright>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync </copyright>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refsynopsisdiv>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">file</replaceable></option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-f</option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-k</option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-q</option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-v</option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-z</option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-g <replaceable class="parameter">path</replaceable></option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">path</replaceable></option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <arg choice="opt" rep="norepeat"><option>-s <replaceable class="parameter">path</replaceable></option></arg>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync </cmdsynopsis>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync </refsynopsisdiv>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <refsection><info><title>DESCRIPTION</title></info>
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <command>dnssec-keymgr</command> is a high level Python wrapper
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync to facilitate the key rollover process for zones handled by
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync BIND. It uses the BIND commands for manipulating DNSSEC key
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync DNSSEC policy can be read from a configuration file (default
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <filename>/etc/dnssec.policy</filename>), from which the key
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync parameters, publication and rollover schedule, and desired
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync coverage duration for any given zone can be determined. This
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync file may be used to define individual DNSSEC policies on a
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync per-zone basis, or to set a default policy used for all zones.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync When <command>dnssec-keymgr</command> runs, it examines the DNSSEC
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync keys for one or more zones, comparing their timing metadata against
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync the policies for those zones. If key settings do not conform to the
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync DNSSEC policy (for example, because the policy has been changed),
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync they are automatically corrected.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync A zone policy can specify a duration for which we want to
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync ensure the key correctness (<option>coverage</option>). It can
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync also specify a rollover period (<option>roll-period</option>).
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync If policy indicates that a key should roll over before the
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync coverage period ends, then a successor key will automatically be
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync created and added to the end of the key series.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync If zones are specified on the command line,
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync <command>dnssec-keymgr</command> will examine only those zones.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync If a specified zone does not already have keys in place, then
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync keys will be generated for it according to policy.
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync If zones are <emphasis>not</emphasis> specified on the command
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync line, then <command>dnssec-keymgr</command> will search the
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync key directory (either the current working directory or the directory
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync set by the <option>-K</option> option), and check the keys for
a5fb10feb5ad0a875c114c6f117b9718784c9650vboxsync all the zones represented in the directory.