man.dnssec-settime.html revision 85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - Copyright (C) 2004-2013 Internet Systems Consortium, Inc. ("ISC")
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - Copyright (C) 2000-2003 Internet Software Consortium.
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - Permission to use, copy, modify, and/or distribute this software for any
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - purpose with or without fee is hereby granted, provided that the above
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - copyright notice and this permission notice appear in all copies.
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
6c073ea23cd0e3760b072727cc18114860c27647Timo Sirainen - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1fb81cb0b622cef1690c96bcc6a3e183e0b1e6ffTimo Sirainen - PERFORMANCE OF THIS SOFTWARE.
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
2271d1a3dfc7191e610f039e86b9245bbc5dfb8cTimo Sirainen<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
2271d1a3dfc7191e610f039e86b9245bbc5dfb8cTimo Sirainen<link rel="prev" href="man.dnssec-revoke.html" title="dnssec-revoke">
2271d1a3dfc7191e610f039e86b9245bbc5dfb8cTimo Sirainen<link rel="next" href="man.dnssec-signzone.html" title="dnssec-signzone">
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<table width="100%" summary="Navigation header">
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<tr><th colspan="3" align="center"><span class="application">dnssec-settime</span></th></tr>
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<a accesskey="p" href="man.dnssec-revoke.html">Prev</a>�</td>
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<th width="60%" align="center">Manual pages</th>
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-signzone.html">Next</a>
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen<a name="man.dnssec-settime"></a><div class="titlepage"></div>
57bf90f66f393c2807b2fc543655013f61d1d9e4Timo Sirainen<p><span class="application">dnssec-settime</span> — Set the key timing metadata for a DNSSEC key</p>
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen<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>
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen<p><span><strong class="command">dnssec-settime</strong></span>
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen reads a DNSSEC private key file and sets the key timing metadata
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen as specified by the <code class="option">-P</code>, <code class="option">-A</code>,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen <code class="option">-R</code>, <code class="option">-I</code>, and <code class="option">-D</code>
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen options. The metadata can then be used by
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen <span><strong class="command">dnssec-signzone</strong></span> or other signing software to
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen determine when a key is to be published, whether it should be
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen used for signing a zone, etc.
b9f564d00b7a115f465ffd6840341c7b8f9bfc8aTimo Sirainen If none of these options is set on the command line,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen then <span><strong class="command">dnssec-settime</strong></span> simply prints the key timing
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen metadata already stored in the key.
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen When key metadata fields are changed, both files of a key
755abfa2bc6c5f072519b545faa1487357046b27Timo Sirainen pair (<code class="filename">Knnnn.+aaa+iiiii.key</code> and
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen <code class="filename">Knnnn.+aaa+iiiii.private</code>) are regenerated.
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen Metadata fields are stored in the private file. A human-readable