dnssec-importkey.html revision 7911e6f9de303bca5a3d8b34f4330c8f7cecffae
f808c858fa61e7769218966759510a8b1190dfcfraf<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
f808c858fa61e7769218966759510a8b1190dfcfraf - Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
f808c858fa61e7769218966759510a8b1190dfcfraf - This Source Code Form is subject to the terms of the Mozilla Public
f808c858fa61e7769218966759510a8b1190dfcfraf - License, v. 2.0. If a copy of the MPL was not distributed with this
f808c858fa61e7769218966759510a8b1190dfcfraf - file, You can obtain one at http://mozilla.org/MPL/2.0/.
f808c858fa61e7769218966759510a8b1190dfcfraf<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
f808c858fa61e7769218966759510a8b1190dfcfraf<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
f808c858fa61e7769218966759510a8b1190dfcfraf<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
f808c858fa61e7769218966759510a8b1190dfcfraf<a name="man.dnssec-importkey"></a><div class="titlepage"></div>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami <span class="application">dnssec-importkey</span>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami — import DNSKEY records from external systems so they can be managed
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-L <em class="replaceable"><code>ttl</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>]
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami [<code class="option">-P sync <em class="replaceable"><code>date/offset</code></em></code>]
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>]
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami [<code class="option">-D sync <em class="replaceable"><code>date/offset</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf {<code class="option">-f <em class="replaceable"><code>filename</code></em></code>}
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-L <em class="replaceable"><code>ttl</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-P <em class="replaceable"><code>date/offset</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-P sync <em class="replaceable"><code>date/offset</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-D <em class="replaceable"><code>date/offset</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-D sync <em class="replaceable"><code>date/offset</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
f808c858fa61e7769218966759510a8b1190dfcfraf <p><span class="command"><strong>dnssec-importkey</strong></span>
f808c858fa61e7769218966759510a8b1190dfcfraf reads a public DNSKEY record and generates a pair of
f808c858fa61e7769218966759510a8b1190dfcfraf .key/.private files. The DNSKEY record may be read from an
f808c858fa61e7769218966759510a8b1190dfcfraf existing .key file, in which case a corresponding .private file
f808c858fa61e7769218966759510a8b1190dfcfraf will be generated, or it may be read from any other file or
f808c858fa61e7769218966759510a8b1190dfcfraf from the standard input, in which case both .key and .private
f808c858fa61e7769218966759510a8b1190dfcfraf files will be generated.
f808c858fa61e7769218966759510a8b1190dfcfraf The newly-created .private file does <span class="emphasis"><em>not</em></span>
f808c858fa61e7769218966759510a8b1190dfcfraf contain private key data, and cannot be used for signing.
f808c858fa61e7769218966759510a8b1190dfcfraf However, having a .private file makes it possible to set
f808c858fa61e7769218966759510a8b1190dfcfraf publication (<code class="option">-P</code>) and deletion
f808c858fa61e7769218966759510a8b1190dfcfraf (<code class="option">-D</code>) times for the key, which means the
f808c858fa61e7769218966759510a8b1190dfcfraf public key can be added to and removed from the DNSKEY RRset
f808c858fa61e7769218966759510a8b1190dfcfraf on schedule even if the true private key is stored offline.
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-f <em class="replaceable"><code>filename</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf Zone file mode: instead of a public keyfile name, the argument