man.delv.html revision 7e71f05d8643aca84914437c900cb716444507e4
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User - Copyright (C) 2000-2015 Internet Systems Consortium, Inc. ("ISC")
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont - This Source Code Form is subject to the terms of the Mozilla Public
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont - License, v. 2.0. If a copy of the MPL was not distributed with this
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont - file, You can obtain one at http://mozilla.org/MPL/2.0/.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<link rel="prev" href="man.host.html" title="host">
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<link rel="next" href="man.nslookup.html" title="nslookup">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<a accesskey="p" href="man.host.html">Prev</a>�</td>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<th width="60%" align="center">Manual pages</th>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<td width="20%" align="right">�<a accesskey="n" href="man.nslookup.html">Next</a>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<a name="man.delv"></a><div class="titlepage"></div>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<p>delv — DNS lookup and validation utility</p>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<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>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-h</code>]</p></div>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-v</code>]</p></div>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<div class="cmdsynopsis"><p><code class="command">delv</code> [queryopt...] [query...]</p></div>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<a name="id-1.14.5.7"></a><h2>DESCRIPTION</h2>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<p><span class="command"><strong>delv</strong></span>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont (Domain Entity Lookup & Validation) is a tool for sending
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt DNS queries and validating the results, using the same internal
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt resolver and validator logic as <span class="command"><strong>named</strong></span>.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <span class="command"><strong>delv</strong></span> will send to a specified name server all
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont queries needed to fetch and validate the requested data; this
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt includes the original requested query, subsequent queries to follow
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt CNAME or DNAME chains, and queries for DNSKEY, DS and DLV records
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont to establish a chain of trust for DNSSEC validation.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont It does not perform iterative resolution, but simulates the
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont behavior of a name server configured for DNSSEC validating and
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont By default, responses are validated using built-in DNSSEC trust
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont anchors for the root zone (".") and for the ISC DNSSEC lookaside
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont validation zone ("dlv.isc.org"). Records returned by
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> are either fully validated or
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont were not signed. If validation fails, an explanation of
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt the failure is included in the output; the validation process
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt can be traced in detail. Because <span class="command"><strong>delv</strong></span> does
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt not rely on an external server to carry out validation, it can
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont be used to check the validity of DNS responses in environments
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt where local name servers may not be trustworthy.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Unless it is told to query a specific name server,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> will try each of the servers listed in
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <code class="filename">/etc/resolv.conf</code>. If no usable server
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont addresses are found, <span class="command"><strong>delv</strong></span> will send
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont queries to the localhost addresses (127.0.0.1 for IPv4, ::1
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont When no command line arguments or options are given,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> will perform an NS query for "."
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont (the root zone).
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<a name="id-1.14.5.8"></a><h2>SIMPLE USAGE</h2>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont A typical invocation of <span class="command"><strong>delv</strong></span> looks like:
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<pre class="programlisting"> delv @server name type </pre>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<div class="variablelist"><dl class="variablelist">
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<dt><span class="term"><code class="constant">server</code></span></dt>
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont is the name or IP address of the name server to query. This
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont can be an IPv4 address in dotted-decimal notation or an IPv6
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont address in colon-delimited notation. When the supplied
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <em class="parameter"><code>server</code></em> argument is a hostname,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> resolves that name before
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont querying that name server (note, however, that this
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont initial lookup is <span class="emphasis"><em>not</em></span> validated
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont If no <em class="parameter"><code>server</code></em> argument is
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont provided, <span class="command"><strong>delv</strong></span> consults
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <code class="filename">/etc/resolv.conf</code>; if an
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont address is found there, it queries the name server at
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont that address. If either of the <code class="option">-4</code> or
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <code class="option">-6</code> options are in use, then
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont only addresses for the corresponding transport
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont will be tried. If no usable addresses are found,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> will send queries to
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont the localhost addresses (127.0.0.1 for IPv4,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont ::1 for IPv6).
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt<dt><span class="term"><code class="constant">name</code></span></dt>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt is the domain name to be looked up.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt<dt><span class="term"><code class="constant">type</code></span></dt>
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt indicates what type of query is required —
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt ANY, A, MX, etc.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <em class="parameter"><code>type</code></em> can be any valid query
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt <em class="parameter"><code>type</code></em> argument is supplied,
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont <span class="command"><strong>delv</strong></span> will perform a lookup for an
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont<div class="variablelist"><dl class="variablelist">
b0af7cbe9220775e23127f2f38750e4a281ee871Jeremy C. Reed<dt><span class="term">-a <em class="replaceable"><code>anchor-file</code></em></span></dt>
b0af7cbe9220775e23127f2f38750e4a281ee871Jeremy C. Reed Specifies a file from which to read DNSSEC trust anchors.
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont The default is <code class="filename">/etc/bind.keys</code>, which
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont is included with <acronym class="acronym">BIND</acronym> 9 and contains
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt trust anchors for the root zone (".") and for the ISC
a631b30b1ddd8b2ea780371d0d99ba1c05bc7e42Francis Dupont DNSSEC lookaside validation zone ("dlv.isc.org").
using nibble format under the IP6.ARPA domain.
e.g. "[ key id = value ]".
a trust anchor of "dlv.isc.org", for which there is a