man.dnssec-settime.html revision 9941177e7eb530451d5970959cc2828c53cb36c9
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - Copyright (C) 2000-2003 Internet Software Consortium.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - Permission to use, copy, modify, and/or distribute this software for any
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - purpose with or without fee is hereby granted, provided that the above
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - copyright notice and this permission notice appear in all copies.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister - PERFORMANCE OF THIS SOFTWARE.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<link rel="prev" href="man.dnssec-revoke.html" title="dnssec-revoke">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<link rel="next" href="man.dnssec-signzone.html" title="dnssec-signzone">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<table width="100%" summary="Navigation header">
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<tr><th colspan="3" align="center"><span class="application">dnssec-settime</span></th></tr>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<a accesskey="p" href="man.dnssec-revoke.html">Prev</a>�</td>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<th width="60%" align="center">Manual pages</th>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-signzone.html">Next</a>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<a name="man.dnssec-settime"></a><div class="titlepage"></div>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<p><span class="application">dnssec-settime</span> — Set the key timing metadata for a DNSSEC key</p>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<div class="cmdsynopsis"><p><code class="command">dnssec-settime</code> [<code class="option">-f</code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-L <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-A <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-R <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-I <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>] [<code class="option">-h</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] {keyfile}</p></div>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister<p><span><strong class="command">dnssec-settime</strong></span>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister reads a DNSSEC private key file and sets the key timing metadata
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister as specified by the <code class="option">-P</code>, <code class="option">-A</code>,
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister <code class="option">-R</code>, <code class="option">-I</code>, and <code class="option">-D</code>
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister options. The metadata can then be used by
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister <span><strong class="command">dnssec-signzone</strong></span> or other signing software to
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister determine when a key is to be published, whether it should be
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister used for signing a zone, etc.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister If none of these options is set on the command line,
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister then <span><strong class="command">dnssec-settime</strong></span> simply prints the key timing
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister metadata already stored in the key.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister When key metadata fields are changed, both files of a key
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister pair (<code class="filename">Knnnn.+aaa+iiiii.key</code> and
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister <code class="filename">Knnnn.+aaa+iiiii.private</code>) are regenerated.
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister Metadata fields are stored in the private file. A human-readable
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister description of the metadata is also placed in comments in the key
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister file. The private file's permissions are always set to be
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister inaccessible to anyone other than the owner (mode 0600).
e32ccd2b77d641bd3fbd8a0e3cbb13136ad44d03James Brister Force an update of an old-format key with no metadata fields.