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