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