man.delv.html revision 09d72af3e9961c210d7baa6179165b6cd81e8dd0
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - Copyright (C) 2000-2003 Internet Software Consortium.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - Permission to use, copy, modify, and/or distribute this software for any
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - purpose with or without fee is hereby granted, provided that the above
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - copyright notice and this permission notice appear in all copies.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen - PERFORMANCE OF THIS SOFTWARE.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
981e542f40f5acaf95b69c5854e5ffb080204242Lubos Kosco<link rel="prev" href="man.host.html" title="host">
981e542f40f5acaf95b69c5854e5ffb080204242Lubos Kosco<link rel="next" href="man.dnssec-checkds.html" title="dnssec-checkds">
981e542f40f5acaf95b69c5854e5ffb080204242Lubos Kosco<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<table width="100%" summary="Navigation header">
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<tr><th colspan="3" align="center">delv</th></tr>
981e542f40f5acaf95b69c5854e5ffb080204242Lubos Kosco<a accesskey="p" href="man.host.html">Prev</a>�</td>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<th width="60%" align="center">Manual pages</th>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-checkds.html">Next</a>
d31e9a954af0214d647fe3d8fda5a62986a578c2Knut Anders Hatlen<a name="man.delv"></a><div class="titlepage"></div>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<p>delv — DNS lookup and validation utility</p>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<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>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-h</code>]</p></div>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<div class="cmdsynopsis"><p><code class="command">delv</code> [<code class="option">-v</code>]</p></div>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<div class="cmdsynopsis"><p><code class="command">delv</code> [queryopt...] [query...]</p></div>
d31e9a954af0214d647fe3d8fda5a62986a578c2Knut Anders Hatlen<p><span><strong class="command">delv</strong></span>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen (Domain Entity Lookup & Validation) is a tool for sending
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen DNS queries and validating the results, using the same internal
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen resolver and validator logic as <span><strong class="command">named</strong></span>.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <span><strong class="command">delv</strong></span> will send to a specified name server all
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen queries needed to fetch and validate the requested data; this
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen includes the original requested query, subsequent queries to follow
d31e9a954af0214d647fe3d8fda5a62986a578c2Knut Anders Hatlen CNAME or DNAME chains, and queries for DNSKEY, DS and DLV records
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen to establish a chain of trust for DNSSEC validation.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen It does not perform iterative resolution, but simulates the
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen behavior of a name server configured for DNSSEC validating and
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen By default, responses are validated using built-in DNSSEC trust
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen anchors for the root zone (".") and for the ISC DNSSEC lookaside
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen validation zone ("dlv.isc.org"). Records returned by
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <span><strong class="command">delv</strong></span> are either fully validated or
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen were not signed. If validation fails, an explanation of
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen the failure is included in the output; the validation process
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen can be traced in detail. Because <span><strong class="command">delv</strong></span> does
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen not rely on an external server to carry out validation, it can
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen be used to check the validity of DNS responses in environments
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen where local name servers may not be trustworthy.
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen Unless it is told to query a specific name server,
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <span><strong class="command">delv</strong></span> will try each of the servers listed in
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <code class="filename">/etc/resolv.conf</code>. If no usable server
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen addresses are found, <span><strong class="command">delv</strong></span> will send
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen queries to the localhost addresses (127.0.0.1 for IPv4, ::1
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen When no command line arguments or options are given,
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <span><strong class="command">delv</strong></span> will perform an NS query for "."
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen (the root zone).
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<a name="id2619686"></a><h2>SIMPLE USAGE</h2>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen A typical invocation of <span><strong class="command">delv</strong></span> looks like:
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<pre class="programlisting"> delv @server name type </pre>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen<dt><span class="term"><code class="constant">server</code></span></dt>
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen is the name or IP address of the name server to query. This
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen can be an IPv4 address in dotted-decimal notation or an IPv6
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen address in colon-delimited notation. When the supplied
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <em class="parameter"><code>server</code></em> argument is a hostname,
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <span><strong class="command">delv</strong></span> resolves that name before
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen querying that name server (note, however, that this
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen initial lookup is <span class="emphasis"><em>not</em></span> validated
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen If no <em class="parameter"><code>server</code></em> argument is
6e30df0b488ecc6b04c2f49b53ecdf0fcdaa84a6Knut Anders Hatlen provided, <span><strong class="command">delv</strong></span> consults
75640e2b0da81c240758d747e76d30acd1ed194dKnut Anders Hatlen <code class="filename">/etc/resolv.conf</code>; if an
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