man.delv.html revision d95b19f839f5bad2d1c25577fd334907bd90656c
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<!--
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync - Copyright (C) 2000-2017 Internet Systems Consortium, Inc. ("ISC")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync -
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync - This Source Code Form is subject to the terms of the Mozilla Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync - License, v. 2.0. If a copy of the MPL was not distributed with this
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync - file, You can obtain one at http://mozilla.org/MPL/2.0/.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync-->
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<html lang="en">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<head>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<title>delv</title>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<link rel="prev" href="man.host.html" title="host">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<link rel="next" href="man.nslookup.html" title="nslookup">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</head>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<div class="navheader">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<table width="100%" summary="Navigation header">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<tr><th colspan="3" align="center">delv</th></tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<td width="20%" align="left">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<a accesskey="p" href="man.host.html">Prev</a>�</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<th width="60%" align="center">Manual pages</th>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<td width="20%" align="right">�<a accesskey="n" href="man.nslookup.html">Next</a>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</td>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</tr>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</table>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<hr>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<div class="refentry">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<a name="man.delv"></a><div class="titlepage"></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="refnamediv">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<h2>Name</h2>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync delv
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync &#8212; DNS lookup and validation utility
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="refsynopsisdiv">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<h2>Synopsis</h2>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="cmdsynopsis"><p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="command">delv</code>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [@server]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-4</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-6</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-a <em class="replaceable"><code>anchor-file</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-b <em class="replaceable"><code>address</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-d <em class="replaceable"><code>level</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-i</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-m</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-q <em class="replaceable"><code>name</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-t <em class="replaceable"><code>type</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [name]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [type]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [class]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [queryopt...]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="cmdsynopsis"><p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="command">delv</code>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-h</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="cmdsynopsis"><p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="command">delv</code>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [<code class="option">-v</code>]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="cmdsynopsis"><p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="command">delv</code>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [queryopt...]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync [query...]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="refsection">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<a name="id-1.14.5.7"></a><h2>DESCRIPTION</h2>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p><span class="command"><strong>delv</strong></span>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync is a tool for sending
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DNS queries and validating the results, using the same internal
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync resolver and validator logic as <span class="command"><strong>named</strong></span>.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> will send to a specified name server all
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync queries needed to fetch and validate the requested data; this
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync includes the original requested query, subsequent queries to follow
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync CNAME or DNAME chains, and queries for DNSKEY, DS and DLV records
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync to establish a chain of trust for DNSSEC validation.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync It does not perform iterative resolution, but simulates the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync behavior of a name server configured for DNSSEC validating and
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync forwarding.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync By default, responses are validated using built-in DNSSEC trust
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync anchors for the root zone (".") and for the ISC DNSSEC lookaside
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync validation zone ("dlv.isc.org"). Records returned by
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> are either fully validated or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync were not signed. If validation fails, an explanation of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync the failure is included in the output; the validation process
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync can be traced in detail. Because <span class="command"><strong>delv</strong></span> does
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync not rely on an external server to carry out validation, it can
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync be used to check the validity of DNS responses in environments
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync where local name servers may not be trustworthy.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Unless it is told to query a specific name server,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> will try each of the servers listed in
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="filename">/etc/resolv.conf</code>. If no usable server
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync addresses are found, <span class="command"><strong>delv</strong></span> will send
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync queries to the localhost addresses (127.0.0.1 for IPv4, ::1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync for IPv6).
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync When no command line arguments or options are given,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> will perform an NS query for "."
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync (the root zone).
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="refsection">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<a name="id-1.14.5.8"></a><h2>SIMPLE USAGE</h2>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync A typical invocation of <span class="command"><strong>delv</strong></span> looks like:
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<pre class="programlisting"> delv @server name type </pre>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync where:
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<div class="variablelist"><dl class="variablelist">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term"><code class="constant">server</code></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync is the name or IP address of the name server to query. This
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync can be an IPv4 address in dotted-decimal notation or an IPv6
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync address in colon-delimited notation. When the supplied
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <em class="parameter"><code>server</code></em> argument is a hostname,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> resolves that name before
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync querying that name server (note, however, that this
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync initial lookup is <span class="emphasis"><em>not</em></span> validated
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync by DNSSEC).
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync If no <em class="parameter"><code>server</code></em> argument is
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync provided, <span class="command"><strong>delv</strong></span> consults
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="filename">/etc/resolv.conf</code>; if an
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync address is found there, it queries the name server at
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync that address. If either of the <code class="option">-4</code> or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="option">-6</code> options are in use, then
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync only addresses for the corresponding transport
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync will be tried. If no usable addresses are found,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> will send queries to
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync the localhost addresses (127.0.0.1 for IPv4,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync ::1 for IPv6).
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term"><code class="constant">name</code></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync is the domain name to be looked up.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term"><code class="constant">type</code></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync indicates what type of query is required &#8212;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync ANY, A, MX, etc.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <em class="parameter"><code>type</code></em> can be any valid query
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync type. If no
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <em class="parameter"><code>type</code></em> argument is supplied,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> will perform a lookup for an
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync A record.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync</dl></div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </div>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="refsection">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<a name="id-1.14.5.9"></a><h2>OPTIONS</h2>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <div class="variablelist"><dl class="variablelist">
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-a <em class="replaceable"><code>anchor-file</code></em></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Specifies a file from which to read DNSSEC trust anchors.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync The default is <code class="filename">/etc/bind.keys</code>, which
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync is included with <acronym class="acronym">BIND</acronym> 9 and contains
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync trust anchors for the root zone (".") and for the ISC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DNSSEC lookaside validation zone ("dlv.isc.org").
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Keys that do not match the root or DLV trust-anchor
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync names are ignored; these key names can be overridden
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync using the <code class="option">+dlv=NAME</code> or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="option">+root=NAME</code> options.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Note: When reading the trust anchor file,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>delv</strong></span> treats <code class="option">managed-keys</code>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync statements and <code class="option">trusted-keys</code> statements
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync identically. That is, for a managed key, it is the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="emphasis"><em>initial</em></span> key that is trusted; RFC 5011
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync key management is not supported. <span class="command"><strong>delv</strong></span>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync will not consult the managed-keys database maintained by
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <span class="command"><strong>named</strong></span>. This means that if either of the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync keys in <code class="filename">/etc/bind.keys</code> is revoked
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync and rolled over, it will be necessary to update
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <code class="filename">/etc/bind.keys</code> to use DNSSEC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync validation in <span class="command"><strong>delv</strong></span>.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-b <em class="replaceable"><code>address</code></em></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Sets the source IP address of the query to
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <em class="parameter"><code>address</code></em>. This must be a valid address
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync on one of the host's network interfaces or "0.0.0.0" or "::".
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync An optional source port may be specified by appending
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync "#&lt;port&gt;"
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Sets the query class for the requested data. Currently,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync only class "IN" is supported in <span class="command"><strong>delv</strong></span>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync and any other value is ignored.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-d <em class="replaceable"><code>level</code></em></span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Set the systemwide debug level to <code class="option">level</code>.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync The allowed range is from 0 to 99.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync The default is 0 (no debugging).
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Debugging traces from <span class="command"><strong>delv</strong></span> become
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync more verbose as the debug level increases.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync See the <code class="option">+mtrace</code>, <code class="option">+rtrace</code>,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync and <code class="option">+vtrace</code> options below for additional
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync debugging details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-h</span></dt>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync <p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync Display the <span class="command"><strong>delv</strong></span> help usage output and exit.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </p>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync </dd>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync<dt><span class="term">-i</span></dt>
<dd>
<p>
Insecure mode. This disables internal DNSSEC validation.
(Note, however, this does not set the CD bit on upstream
queries. If the server being queried is performing DNSSEC
validation, then it will not return invalid data; this
can cause <span class="command"><strong>delv</strong></span> to time out. When it
is necessary to examine invalid data to debug a DNSSEC
problem, use <span class="command"><strong>dig +cd</strong></span>.)
</p>
</dd>
<dt><span class="term">-m</span></dt>
<dd>
<p>
Enables memory usage debugging.
</p>
</dd>
<dt><span class="term">-p <em class="replaceable"><code>port#</code></em></span></dt>
<dd>
<p>
Specifies a destination port to use for queries instead of
the standard DNS port number 53. This option would be used
with a name server that has been configured to listen
for queries on a non-standard port number.
</p>
</dd>
<dt><span class="term">-q <em class="replaceable"><code>name</code></em></span></dt>
<dd>
<p>
Sets the query name to <em class="parameter"><code>name</code></em>.
While the query name can be specified without using the
<code class="option">-q</code>, it is sometimes necessary to disambiguate
names from types or classes (for example, when looking up the
name "ns", which could be misinterpreted as the type NS,
or "ch", which could be misinterpreted as class CH).
</p>
</dd>
<dt><span class="term">-t <em class="replaceable"><code>type</code></em></span></dt>
<dd>
<p>
Sets the query type to <em class="parameter"><code>type</code></em>, which
can be any valid query type supported in BIND 9 except
for zone transfer types AXFR and IXFR. As with
<code class="option">-q</code>, this is useful to distinguish
query name type or class when they are ambiguous.
it is sometimes necessary to disambiguate names from types.
</p>
<p>
The default query type is "A", unless the <code class="option">-x</code>
option is supplied to indicate a reverse lookup, in which case
it is "PTR".
</p>
</dd>
<dt><span class="term">-v</span></dt>
<dd>
<p>
Print the <span class="command"><strong>delv</strong></span> version and exit.
</p>
</dd>
<dt><span class="term">-x <em class="replaceable"><code>addr</code></em></span></dt>
<dd>
<p>
Performs a reverse lookup, mapping an addresses to
a name. <em class="parameter"><code>addr</code></em> is an IPv4 address in
dotted-decimal notation, or a colon-delimited IPv6 address.
When <code class="option">-x</code> is used, there is no need to provide
the <em class="parameter"><code>name</code></em> or <em class="parameter"><code>type</code></em>
arguments. <span class="command"><strong>delv</strong></span> automatically performs a
lookup for a name like <code class="literal">11.12.13.10.in-addr.arpa</code>
and sets the query type to PTR. IPv6 addresses are looked up
using nibble format under the IP6.ARPA domain.
</p>
</dd>
<dt><span class="term">-4</span></dt>
<dd>
<p>
Forces <span class="command"><strong>delv</strong></span> to only use IPv4.
</p>
</dd>
<dt><span class="term">-6</span></dt>
<dd>
<p>
Forces <span class="command"><strong>delv</strong></span> to only use IPv6.
</p>
</dd>
</dl></div>
</div>
<div class="refsection">
<a name="id-1.14.5.10"></a><h2>QUERY OPTIONS</h2>
<p><span class="command"><strong>delv</strong></span>
provides a number of query options which affect the way results are
displayed, and in some cases the way lookups are performed.
</p>
<p>
Each query option is identified by a keyword preceded by a plus sign
(<code class="literal">+</code>). Some keywords set or reset an
option. These may be preceded by the string
<code class="literal">no</code> to negate the meaning of that keyword.
Other keywords assign values to options like the timeout interval.
They have the form <code class="option">+keyword=value</code>.
The query options are:
</p>
<div class="variablelist"><dl class="variablelist">
<dt><span class="term"><code class="option">+[no]cdflag</code></span></dt>
<dd>
<p>
Controls whether to set the CD (checking disabled) bit in
queries sent by <span class="command"><strong>delv</strong></span>. This may be useful
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 class="command"><strong>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 class="command"><strong>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 class="command"><strong>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 "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 "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 class="command"><strong>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 class="command"><strong>delv</strong></span> output. The default is to
do so. Note that (unlike in <span class="command"><strong>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>
<dt><span class="term"><code class="option">+[no]tcp</code></span></dt>
<dd>
<p>
Controls whether to use TCP when sending queries.
The default is to use UDP unless a truncated
response has been received.
</p>
</dd>
<dt><span class="term"><code class="option">+[no]unknownformat</code></span></dt>
<dd>
<p>
Print all RDATA in unknown RR type presentation format
(RFC 3597). The default is to print RDATA for known types
in the type's presentation format.
</p>
</dd>
</dl></div>
<p>
</p>
</div>
<div class="refsection">
<a name="id-1.14.5.11"></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="refsection">
<a name="id-1.14.5.12"></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.ch13.html">Up</a></td>
<td width="40%" align="right">�<a accesskey="n" href="man.nslookup.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">�nslookup</td>
</tr>
</table>
</div>
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.2</p>
</body>
</html>