man.delv.html revision 8908291ce54a924176de1e28f158ed7323472f26
d74801c0368d6d784eff276713def80ef9d56445vboxsync<!--
d74801c0368d6d784eff276713def80ef9d56445vboxsync - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
d74801c0368d6d784eff276713def80ef9d56445vboxsync - Copyright (C) 2000-2003 Internet Software Consortium.
d74801c0368d6d784eff276713def80ef9d56445vboxsync -
d74801c0368d6d784eff276713def80ef9d56445vboxsync - Permission to use, copy, modify, and/or distribute this software for any
d74801c0368d6d784eff276713def80ef9d56445vboxsync - purpose with or without fee is hereby granted, provided that the above
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync - copyright notice and this permission notice appear in all copies.
d74801c0368d6d784eff276713def80ef9d56445vboxsync -
d74801c0368d6d784eff276713def80ef9d56445vboxsync - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d74801c0368d6d784eff276713def80ef9d56445vboxsync - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d74801c0368d6d784eff276713def80ef9d56445vboxsync - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d74801c0368d6d784eff276713def80ef9d56445vboxsync - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d74801c0368d6d784eff276713def80ef9d56445vboxsync - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
d74801c0368d6d784eff276713def80ef9d56445vboxsync - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d74801c0368d6d784eff276713def80ef9d56445vboxsync - PERFORMANCE OF THIS SOFTWARE.
d74801c0368d6d784eff276713def80ef9d56445vboxsync-->
d74801c0368d6d784eff276713def80ef9d56445vboxsync<!-- $Id$ -->
d74801c0368d6d784eff276713def80ef9d56445vboxsync<html>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<head>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<title>delv</title>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<link rel="prev" href="man.host.html" title="host">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<link rel="next" href="man.dnssec-checkds.html" title="dnssec-checkds">
d74801c0368d6d784eff276713def80ef9d56445vboxsync</head>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<div class="navheader">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<table width="100%" summary="Navigation header">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<tr><th colspan="3" align="center">delv</th></tr>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<tr>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<td width="20%" align="left">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<a accesskey="p" href="man.host.html">Prev</a>�</td>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<th width="60%" align="center">Manual pages</th>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-checkds.html">Next</a>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</td>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</tr>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</table>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<hr>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</div>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<div class="refentry" lang="en">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<a name="man.delv"></a><div class="titlepage"></div>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<div class="refnamediv">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<h2>Name</h2>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<p>delv &#8212; DNS lookup and validation utility</p>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync</div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="refsynopsisdiv">
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<h2>Synopsis</h2>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="cmdsynopsis"><p><code class="command">delv</code> [@server] [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-a <em class="replaceable"><code>anchor-file</code></em></code>] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>level</code></em></code>] [<code class="option">-i</code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [name] [type] [class] [queryopt...]</p></div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-h</code>]</p></div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-v</code>]</p></div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="cmdsynopsis"><p><code class="command">delv</code> [queryopt...] [query...]</p></div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync</div>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<div class="refsect1" lang="en">
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<a name="id2615303"></a><h2>DESCRIPTION</h2>
d55f5ac020ffc727e495eebc00ff75a022bbd27avboxsync<p><span><strong class="command">delv</strong></span>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync (Domain Entity Lookup &amp; Validation) is a tool for sending
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync DNS queries and validating the results, using the the same internal
c2ac210bd84591123bb8803712887e2b016cb78fvboxsync resolver and validator logic as <span><strong class="command">named</strong></span>.
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> will send to a specified name server all
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync queries needed to fetch and validate the requested data; this
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync includes the original requested query, subsequent queries to follow
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync CNAME or DNAME chains, and queries for DNSKEY, DS and DLV records
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync to establish a chain of trust for DNSSEC validation.
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync It does not perform iterative resolution, but simulates the
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync behavior of a name server configured for DNSSEC validating and
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync forwarding.
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync By default, responses are validated using built-in DNSSEC trust
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync anchors for the root zone (".") and for the ISC DNSSEC lookaside
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync validation zone ("dlv.isc.org"). Records returned by
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> are either fully validated or
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync were not signed. If validation fails, an explanation of
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync the failure is included in the output; the validation process
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync can be traced in detail. Because <span><strong class="command">delv</strong></span> does
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync not rely on an external server to carry out validation, it can
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync be used to check the validity of DNS responses in environments
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync where local name servers may not be trustworthy.
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync Unless it is told to query a specific name server,
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> will try each of the servers listed in
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <code class="filename">/etc/resolv.conf</code>. If no usable server
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync addresses are found, <span><strong class="command">delv</strong></span> will send
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync queries to the localhost addresses (127.0.0.1 for IPv4, ::1
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync for IPv6).
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync When no command line arguments or options are given,
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> will perform an NS query for "."
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync (the root zone).
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync</div>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<div class="refsect1" lang="en">
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<a name="id2615376"></a><h2>SIMPLE USAGE</h2>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync A typical invocation of <span><strong class="command">delv</strong></span> looks like:
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
d27bf03c13c7a5707386600ef9b0bbb82fb3420dvboxsync<pre class="programlisting"> delv @server name type </pre>
d27bf03c13c7a5707386600ef9b0bbb82fb3420dvboxsync<p>
d27bf03c13c7a5707386600ef9b0bbb82fb3420dvboxsync where:
d27bf03c13c7a5707386600ef9b0bbb82fb3420dvboxsync
d27bf03c13c7a5707386600ef9b0bbb82fb3420dvboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<div class="variablelist"><dl>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<dt><span class="term"><code class="constant">server</code></span></dt>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dd>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync is the name or IP address of the name server to query. This
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync can be an IPv4 address in dotted-decimal notation or an IPv6
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync address in colon-delimited notation. When the supplied
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <em class="parameter"><code>server</code></em> argument is a hostname,
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> resolves that name before
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync querying that name server (note, however, that this
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync initial lookup is <span class="emphasis"><em>not</em></span> validated
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync by DNSSEC).
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync If no <em class="parameter"><code>server</code></em> argument is
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync provided, <span><strong class="command">delv</strong></span> consults
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <code class="filename">/etc/resolv.conf</code>; if an
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync address is found there, it queries the name server at
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync that address. If either of the <code class="option">-4</code> or
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <code class="option">-6</code> options are in use, then
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync only addresses for the corresponding transport
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync will be tried. If no usable addresses are found,
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync <span><strong class="command">delv</strong></span> will send queries to
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync the localhost addresses (127.0.0.1 for IPv4,
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync ::1 for IPv6).
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync </p>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync</dd>
9e1a1dfa158ca0c1b95c864ea85024a459ad0024vboxsync<dt><span class="term"><code class="constant">name</code></span></dt>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dd><p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync is the domain name to be looked up.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term"><code class="constant">type</code></span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd><p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync indicates what type of query is required &#8212;
d74801c0368d6d784eff276713def80ef9d56445vboxsync ANY, A, MX, etc.
d74801c0368d6d784eff276713def80ef9d56445vboxsync <em class="parameter"><code>type</code></em> can be any valid query
d74801c0368d6d784eff276713def80ef9d56445vboxsync type. If no
d74801c0368d6d784eff276713def80ef9d56445vboxsync <em class="parameter"><code>type</code></em> argument is supplied,
d74801c0368d6d784eff276713def80ef9d56445vboxsync <span><strong class="command">delv</strong></span> will perform a lookup for an
d74801c0368d6d784eff276713def80ef9d56445vboxsync A record.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</dl></div>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</div>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<div class="refsect1" lang="en">
d74801c0368d6d784eff276713def80ef9d56445vboxsync<a name="id2615575"></a><h2>OPTIONS</h2>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<div class="variablelist"><dl>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-a <em class="replaceable"><code>anchor-file</code></em></span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd>
bf41c93d79f641bebdb44218b5d5a8c8eb8a63afvboxsync<p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Specifies a file from which to read DNSSEC trust anchors.
d74801c0368d6d784eff276713def80ef9d56445vboxsync The default is <code class="filename">/etc/bind.keys</code>, which
d74801c0368d6d784eff276713def80ef9d56445vboxsync is included with <acronym class="acronym">BIND</acronym> 9 and contains
d74801c0368d6d784eff276713def80ef9d56445vboxsync trust anchors for the root zone (".") and for the ISC
d74801c0368d6d784eff276713def80ef9d56445vboxsync DNSSEC lookaside validation zone ("dlv.isc.org").
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Keys that do not match the root or DLV trust-anchor
d74801c0368d6d784eff276713def80ef9d56445vboxsync names are ignored; these key names can be overridden
d74801c0368d6d784eff276713def80ef9d56445vboxsync using the <code class="option">+dlv=NAME</code> or
d74801c0368d6d784eff276713def80ef9d56445vboxsync <code class="option">+root=NAME</code> options.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Note: When reading the trust anchor file,
d74801c0368d6d784eff276713def80ef9d56445vboxsync <span><strong class="command">delv</strong></span> treats <code class="option">managed-keys</code>
d74801c0368d6d784eff276713def80ef9d56445vboxsync statements and <code class="option">trusted-keys</code> statements
d74801c0368d6d784eff276713def80ef9d56445vboxsync identically. That is, for a managed key, it is the
d74801c0368d6d784eff276713def80ef9d56445vboxsync <span class="emphasis"><em>initial</em></span> key that is trusted; RFC 5011
d74801c0368d6d784eff276713def80ef9d56445vboxsync key management is not supported. <span><strong class="command">delv</strong></span>
d74801c0368d6d784eff276713def80ef9d56445vboxsync will not consult the managed-keys database maintained by
d74801c0368d6d784eff276713def80ef9d56445vboxsync <span><strong class="command">named</strong></span>. This means that if either of the
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync keys in <code class="filename">/etc/bind.keys</code> is revoked
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync and rolled over, it will be necessary to update
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync <code class="filename">/etc/bind.keys</code> to use DNSSEC
22197ad5dba8323699e719b622fff028e69b9d54vboxsync validation in <span><strong class="command">delv</strong></span>.
22197ad5dba8323699e719b622fff028e69b9d54vboxsync </p>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync</dd>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<dt><span class="term">-b <em class="replaceable"><code>address</code></em></span></dt>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dd><p>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync Sets the source IP address of the query to
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync <em class="parameter"><code>address</code></em>. This must be a valid address
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync on one of the host's network interfaces or "0.0.0.0" or "::".
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync An optional source port may be specified by appending
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync "#&lt;port&gt;"
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync </p></dd>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dd><p>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync Sets the query class for the requested data. Currently,
22197ad5dba8323699e719b622fff028e69b9d54vboxsync only class "IN" is supported in <span><strong class="command">delv</strong></span>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync and any other value is ignored.
22197ad5dba8323699e719b622fff028e69b9d54vboxsync </p></dd>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<dt><span class="term">-d <em class="replaceable"><code>level</code></em></span></dt>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<dd><p>
bf41c93d79f641bebdb44218b5d5a8c8eb8a63afvboxsync Set the systemwide debug level to <code class="option">level</code>.
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync The allowed range is from 0 to 99.
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync The default is 0 (no debugging).
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync Debugging traces from <span><strong class="command">delv</strong></span> become
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync more verbose as the debug level increases.
d74801c0368d6d784eff276713def80ef9d56445vboxsync See the <code class="option">+mtrace</code>, <code class="option">+rtrace</code>,
d74801c0368d6d784eff276713def80ef9d56445vboxsync and <code class="option">+vtrace</code> options below for additional
d74801c0368d6d784eff276713def80ef9d56445vboxsync debugging details.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-h</span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd><p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Display the <span><strong class="command">delv</strong></span> help usage output and exit.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-i</span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd><p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Insecure mode. This disables internal DNSSEC validation.
d74801c0368d6d784eff276713def80ef9d56445vboxsync (Note, however, this does not set the CD bit on upstream
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync queries. If the server being queried is performing DNSSEC
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync validation, then it will not return invalid data; this
d74801c0368d6d784eff276713def80ef9d56445vboxsync can cause <span><strong class="command">delv</strong></span> to time out. When it
d74801c0368d6d784eff276713def80ef9d56445vboxsync is necessary to examine invalid data to debug a DNSSEC
d74801c0368d6d784eff276713def80ef9d56445vboxsync problem, use <span><strong class="command">dig +cd</strong></span>.)
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-m</span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd><p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync Enables memory usage debugging.
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-p <em class="replaceable"><code>port#</code></em></span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd><p>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync Specifies a destination port to use for queries instead of
22197ad5dba8323699e719b622fff028e69b9d54vboxsync the standard DNS port number 53. This option would be used
22197ad5dba8323699e719b622fff028e69b9d54vboxsync with a name server that has been configured to listen
22197ad5dba8323699e719b622fff028e69b9d54vboxsync for queries on a non-standard port number.
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync </p></dd>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dt><span class="term">-q <em class="replaceable"><code>name</code></em></span></dt>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<dd><p>
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync Sets the query name to <em class="parameter"><code>name</code></em>.
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync While the query name can be specified without using the
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync <code class="option">-q</code>, it is sometimes necessary to disambiguate
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync names from types or classes (for example, when looking up the
d74801c0368d6d784eff276713def80ef9d56445vboxsync name "ns", which could be misinterpreted as the type NS,
d74801c0368d6d784eff276713def80ef9d56445vboxsync or "ch", which could be misinterpreted as class CH).
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p></dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-t <em class="replaceable"><code>type</code></em></span></dt>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dd>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync<p>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync Sets the query type to <em class="parameter"><code>type</code></em>, which
22197ad5dba8323699e719b622fff028e69b9d54vboxsync can be any valid query type supported in BIND 9 except
22197ad5dba8323699e719b622fff028e69b9d54vboxsync for zone transfer types AXFR and IXFR. As with
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync <code class="option">-q</code>, this is useful to distinguish
22197ad5dba8323699e719b622fff028e69b9d54vboxsync query name type or class when they are ambiguous.
bf41c93d79f641bebdb44218b5d5a8c8eb8a63afvboxsync it is sometimes necessary to disambiguate names from types.
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync </p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<p>
6c02d3ecb460395509b367a77c4b70ee673ba5ccvboxsync The default query type is "A", unless the <code class="option">-x</code>
d74801c0368d6d784eff276713def80ef9d56445vboxsync option is supplied to indicate a reverse lookup, in which case
d74801c0368d6d784eff276713def80ef9d56445vboxsync it is "PTR".
d74801c0368d6d784eff276713def80ef9d56445vboxsync </p>
d74801c0368d6d784eff276713def80ef9d56445vboxsync</dd>
d74801c0368d6d784eff276713def80ef9d56445vboxsync<dt><span class="term">-v</span></dt>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<dd><p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Print the <span><strong class="command">delv</strong></span> version and exit.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync </p></dd>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<dt><span class="term">-x <em class="replaceable"><code>addr</code></em></span></dt>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<dd><p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Performs a reverse lookup, mapping an addresses to
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync a name. <em class="parameter"><code>addr</code></em> is an IPv4 address in
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync dotted-decimal notation, or a colon-delimited IPv6 address.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync When <code class="option">-x</code> is used, there is no need to provide
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync the <em class="parameter"><code>name</code></em> or <em class="parameter"><code>type</code></em>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync arguments. <span><strong class="command">delv</strong></span> automatically performs a
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync lookup for a name like <code class="literal">11.12.13.10.in-addr.arpa</code>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync and sets the query type to PTR. IPv6 addresses are looked up
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync using nibble format under the IP6.ARPA domain.
22197ad5dba8323699e719b622fff028e69b9d54vboxsync </p></dd>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<dt><span class="term">-4</span></dt>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<dd><p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Forces <span><strong class="command">delv</strong></span> to only use IPv4.
22197ad5dba8323699e719b622fff028e69b9d54vboxsync </p></dd>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<dt><span class="term">-6</span></dt>
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync<dd><p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Forces <span><strong class="command">delv</strong></span> to only use IPv6.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync </p></dd>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync</dl></div>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync</div>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<div class="refsect1" lang="en">
22197ad5dba8323699e719b622fff028e69b9d54vboxsync<a name="id2671762"></a><h2>QUERY OPTIONS</h2>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<p><span><strong class="command">delv</strong></span>
22197ad5dba8323699e719b622fff028e69b9d54vboxsync provides a number of query options which affect the way results are
bf41c93d79f641bebdb44218b5d5a8c8eb8a63afvboxsync displayed, and in some cases the way lookups are performed.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync </p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync<p>
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Each query option is identified by a keyword preceded by a plus sign
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync (<code class="literal">+</code>). Some keywords set or reset an
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync option. These may be preceded by the string
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync <code class="literal">no</code> to negate the meaning of that keyword.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync Other keywords assign values to options like the timeout interval.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync They have the form <code class="option">+keyword=value</code>.
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync The query options are:
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync
67c641fcdf8cbce057f65e5afde4d2b4095034c0vboxsync </p>
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync<div class="variablelist"><dl>
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync<dt><span class="term"><code class="option">+[no]cdflag</code></span></dt>
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync<dd><p>
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync Controls whether to set the CD (checking disabled) bit in
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync queries sent by <span><strong class="command">delv</strong></span>. This may be useful
c0b6af690ad705bddfa87c643b89770a7a0aaf5avboxsync when troubleshooting DNSSEC problems from behind a validating
resolver. A validating resolver will block invalid responses,
making it difficult to retrieve them for analysis. Setting
the CD flag on queries will cause the resolver to return
invalid responses, which <span><strong class="command">delv</strong></span> can then
validate internally and report the errors in detail.
</p></dd>
<dt><span class="term"><code class="option">+[no]class</code></span></dt>
<dd><p>
Controls whether to display the CLASS when printing
a record. The default is to display the CLASS.
</p></dd>
<dt><span class="term"><code class="option">+[no]ttl</code></span></dt>
<dd><p>
Controls whether to display the TTL when printing
a record. The default is to display the TTL.
</p></dd>
<dt><span class="term"><code class="option">+[no]rtrace</code></span></dt>
<dd>
<p>
Toggle resolver fetch logging. This reports the
name and type of each query sent by <span><strong class="command">delv</strong></span>
in the process of carrying out the resolution and validation
process: this includes including the original query and
all subsequent queries to follow CNAMEs and to establish a
chain of trust for DNSSEC validation.
</p>
<p>
This is equivalent to setting the debug level to 1 in
the "resolver" logging category. Setting the systemwide
debug level to 1 using the <code class="option">-d</code> option will
product the same output (but will affect other logging
categories as well).
</p>
</dd>
<dt><span class="term"><code class="option">+[no]mtrace</code></span></dt>
<dd>
<p>
Toggle message logging. This produces a detailed dump of
the responses received by <span><strong class="command">delv</strong></span> in the
process of carrying out the resolution and validation process.
</p>
<p>
This is equivalent to setting the debug level to 10
for the the "packets" module of the "resolver" logging
category. Setting the systemwide debug level to 10 using
the <code class="option">-d</code> option will produce the same output
(but will affect other logging categories as well).
</p>
</dd>
<dt><span class="term"><code class="option">+[no]vtrace</code></span></dt>
<dd>
<p>
Toggle validation logging. This shows the internal
process of the validator as it determines whether an
answer is validly signed, unsigned, or invalid.
</p>
<p>
This is equivalent to setting the debug level to 3
for the the "validator" module of the "dnssec" logging
category. Setting the systemwide debug level to 3 using
the <code class="option">-d</code> option will produce the same output
(but will affect other logging categories as well).
</p>
</dd>
<dt><span class="term"><code class="option">+[no]short</code></span></dt>
<dd><p>
Provide a terse answer. The default is to print the answer in a
verbose form.
</p></dd>
<dt><span class="term"><code class="option">+[no]comments</code></span></dt>
<dd><p>
Toggle the display of comment lines in the output. The default
is to print comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]rrcomments</code></span></dt>
<dd><p>
Toggle the display of per-record comments in the output (for
example, human-readable key information about DNSKEY records).
The default is to print per-record comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]crypto</code></span></dt>
<dd><p>
Toggle the display of cryptographic fields in DNSSEC records.
The contents of these field are unnecessary to debug most DNSSEC
validation failures and removing them makes it easier to see
the common failures. The default is to display the fields.
When omitted they are replaced by the string "[omitted]" or
in the DNSKEY case the key id is displayed as the replacement,
e.g. "[ key id = value ]".
</p></dd>
<dt><span class="term"><code class="option">+[no]trust</code></span></dt>
<dd><p>
Controls whether to display the trust level when printing
a record. The default is to display the trust level.
</p></dd>
<dt><span class="term"><code class="option">+[no]split[=W]</code></span></dt>
<dd><p>
Split long hex- or base64-formatted fields in resource
records into chunks of <em class="parameter"><code>W</code></em> characters
(where <em class="parameter"><code>W</code></em> is rounded up to the nearest
multiple of 4).
<em class="parameter"><code>+nosplit</code></em> or
<em class="parameter"><code>+split=0</code></em> causes fields not to be
split at all. The default is 56 characters, or 44 characters
when multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]all</code></span></dt>
<dd><p>
Set or clear the display options
<code class="option">+[no]comments</code>,
<code class="option">+[no]rrcomments</code>, and
<code class="option">+[no]trust</code> as a group.
</p></dd>
<dt><span class="term"><code class="option">+[no]multiline</code></span></dt>
<dd><p>
Print long records (such as RRSIG, DNSKEY, and SOA records)
in a verbose multi-line format with human-readable comments.
The default is to print each record on a single line, to
facilitate machine parsing of the <span><strong class="command">delv</strong></span>
output.
</p></dd>
<dt><span class="term"><code class="option">+[no]dnssec</code></span></dt>
<dd><p>
Indicates whether to display RRSIG records in the
<span><strong class="command">delv</strong></span> output. The default is to
do so. Note that (unlike in <span><strong class="command">dig</strong></span>)
this does <span class="emphasis"><em>not</em></span> control whether to
request DNSSEC records or whether to validate them.
DNSSEC records are always requested, and validation
will always occur unless suppressed by the use of
<code class="option">-i</code> or <code class="option">+noroot</code> and
<code class="option">+nodlv</code>.
</p></dd>
<dt><span class="term"><code class="option">+[no]root[=ROOT]</code></span></dt>
<dd><p>
Indicates whether to perform conventional (non-lookaside)
DNSSEC validation, and if so, specifies the
name of a trust anchor. The default is to validate using
a trust anchor of "." (the root zone), for which there is
a built-in key. If specifying a different trust anchor,
then <code class="option">-a</code> must be used to specify a file
containing the key.
</p></dd>
<dt><span class="term"><code class="option">+[no]dlv[=DLV]</code></span></dt>
<dd><p>
Indicates whether to perform DNSSEC lookaside validation,
and if so, specifies the name of the DLV trust anchor.
The default is to perform lookaside validation using
a trust anchor of "dlv.isc.org", for which there is a
built-in key. If specifying a different name, then
<code class="option">-a</code> must be used to specify a file
containing the DLV key.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2672278"></a><h2>FILES</h2>
<p><code class="filename">/etc/bind.keys</code></p>
<p><code class="filename">/etc/resolv.conf</code></p>
</div>
<div class="refsect1" lang="en">
<a name="id2672297"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<em class="citetitle">RFC4034</em>,
<em class="citetitle">RFC4035</em>,
<em class="citetitle">RFC4431</em>,
<em class="citetitle">RFC5074</em>,
<em class="citetitle">RFC5155</em>.
</p>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="man.host.html">Prev</a>�</td>
<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-checkds.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">host�</td>
<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
<td width="40%" align="right" valign="top">�<span class="application">dnssec-checkds</span>
</td>
</tr>
</table>
</div>
<p style="text-align: center;">BIND Version 9.11</p>
</body>
</html>