dnssec-verify.html revision 5347c0fcb04eaea19d9f39795646239f487c6207
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix - Copyright (C) 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix - This Source Code Form is subject to the terms of the Mozilla Public
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix - License, v. 2.0. If a copy of the MPL was not distributed with this
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix - file, You can obtain one at http://mozilla.org/MPL/2.0/.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<a name="man.dnssec-verify"></a><div class="titlepage"></div>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<p><span class="application">dnssec-verify</span> — DNSSEC zone verification tool</p>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<div class="cmdsynopsis"><p><code class="command">dnssec-verify</code> [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-V</code>] [<code class="option">-x</code>] [<code class="option">-z</code>] {zonefile}</p></div>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<p><span class="command"><strong>dnssec-verify</strong></span>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix verifies that a zone is fully signed for each algorithm found
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix in the DNSKEY RRset for the zone, and that the NSEC / NSEC3
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix chains are complete.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Specifies the DNS class of the zone.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Specifies the cryptographic hardware to use, when applicable.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix When BIND is built with OpenSSL PKCS#11 support, this defaults
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix to the string "pkcs11", which identifies an OpenSSL engine
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix that can drive a cryptographic accelerator or hardware service
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix module. When BIND is built with native PKCS#11 cryptography
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix (--enable-native-pkcs11), it defaults to the path of the PKCS#11
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix provider library specified via "--with-pkcs11".
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<dt><span class="term">-I <em class="replaceable"><code>input-format</code></em></span></dt>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix The format of the input zone file.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Possible formats are <span class="command"><strong>"text"</strong></span> (default)
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix and <span class="command"><strong>"raw"</strong></span>.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix This option is primarily intended to be used for dynamic
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix signed zones so that the dumped zone file in a non-text
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix format containing updates can be verified independently.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix The use of this option does not make much sense for
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix non-dynamic zones.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<dt><span class="term">-o <em class="replaceable"><code>origin</code></em></span></dt>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix The zone origin. If not specified, the name of the zone file
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix is assumed to be the origin.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Sets the debugging level.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Prints version information.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Only verify that the DNSKEY RRset is signed with key-signing
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix keys. Without this flag, it is assumed that the DNSKEY RRset
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix will be signed by all active keys. When this flag is set,
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix it will not be an error if the DNSKEY RRset is not signed
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix by zone-signing keys. This corresponds to the <code class="option">-x</code>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix option in <span class="command"><strong>dnssec-signzone</strong></span>.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix Ignore the KSK flag on the keys when determining whether
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix the zone if correctly signed. Without this flag it is
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix assumed that there will be a non-revoked, self-signed
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix DNSKEY with the KSK flag set for each algorithm and
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix that RRsets other than DNSKEY RRset will be signed with
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix a different DNSKEY without the KSK flag set.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix With this flag set, we only require that for each algorithm,
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix there will be at least one non-revoked, self-signed DNSKEY,
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix regardless of the KSK flag state, and that other RRsets
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix will be signed by a non-revoked key for the same algorithm
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix that includes the self-signed key; the same key may be used
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix for both purposes. This corresponds to the <code class="option">-z</code>
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix option in <span class="command"><strong>dnssec-signzone</strong></span>.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix The file containing the zone to be signed.
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
46f1db4f996956961b3e44b9b477f38eaf31b22fhelix <em class="citetitle">BIND 9 Administrator Reference Manual</em>,