man.mdig.html revision 71cef386fae61275b03e203825680b39fedaa8c6
012a352f4b26cfd874db8d06debc495c2303e8b2Bob Halley<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
50722c0d550a63d4a2b8f34e907b693a81d864e0Mark Andrews - Copyright (C) 2000-2018 Internet Systems Consortium, Inc. ("ISC")
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - This Source Code Form is subject to the terms of the Mozilla Public
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - License, v. 2.0. If a copy of the MPL was not distributed with this
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - file, You can obtain one at http://mozilla.org/MPL/2.0/.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<link rel="prev" href="man.dig.html" title="dig">
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<link rel="next" href="man.host.html" title="host">
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<tr><th colspan="3" align="center"><span class="application">mdig</span></th></tr>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<a accesskey="p" href="man.dig.html">Prev</a>�</td>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<td width="20%" align="right">�<a accesskey="n" href="man.host.html">Next</a>
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<a name="man.mdig"></a><div class="titlepage"></div>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence — DNS pipelined lookup utility
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>]
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence [<code class="option">-b <em class="replaceable"><code>address</code></em></code>]
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>]
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence [<code class="option">-t <em class="replaceable"><code>type</code></em></code>]
8319af16557b81eba3277ee67215285f0823b587Mark Andrews [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>]
8319af16557b81eba3277ee67215285f0823b587Mark Andrews [plusopt...]
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence {global-opt...}
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence {local-opt...}
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <p><span class="command"><strong>mdig</strong></span>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley is a multiple/pipelined query version of <span class="command"><strong>dig</strong></span>:
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley instead of waiting for a response after sending each query,
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley it begins by sending all queries. Responses are displayed in
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley the order in which they are received, not in the order the
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley corresponding queries were sent.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <span class="command"><strong>mdig</strong></span> options are a subset of the
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <span class="command"><strong>dig</strong></span> options, and are divided into "anywhere
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley options" which can occur anywhere, "global options" which must
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley occur before the query name (or they are ignored with a warning),
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley and "local options" which apply to the next query on the command
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence The {@server} option is a mandatory global
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence option. It is the name or IP address of the name server to query.
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence (Unlike <span class="command"><strong>dig</strong></span>, this value is not retrieved from
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence <code class="filename">/etc/resolv.conf</code>.) It can be an IPv4 address
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence in dotted-decimal notation, an IPv6 address in colon-delimited
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence notation, or a hostname. When the supplied
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews <em class="parameter"><code>server</code></em> argument is a hostname,
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews <span class="command"><strong>mdig</strong></span> resolves that name before querying
a9558a6c63d9c6dbb2f3800b39ccb008652fcde3Mark Andrews the name server.
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence <p><span class="command"><strong>mdig</strong></span>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley provides a number of query options which affect
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley the way in which lookups are made and the results displayed. Some of
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley these set or reset flag bits in the query header, some determine which
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley sections of the answer get printed, and others determine the timeout
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley and retry strategies.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Each query option is identified by a keyword preceded by a plus
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley sign (<code class="literal">+</code>). Some keywords set or reset an
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley option. These may be preceded by the string <code class="literal">no</code>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley to negate the meaning of that keyword. Other keywords assign
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley values to options like the timeout interval. They have the
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<a name="id-1.14.3.8"></a><h2>ANYWHERE OPTIONS</h2>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley The <code class="option">-f</code> option makes <span class="command"><strong>mdig</strong></span>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley operate in batch mode by reading a list of lookup requests to
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley process from the file <em class="parameter"><code>filename</code></em>. The file
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley contains a number of queries, one per line. Each entry in the
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley file should be organized in the same way they would be presented
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley as queries to <span class="command"><strong>mdig</strong></span> using the command-line interface.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley The <code class="option">-h</code> causes <span class="command"><strong>mdig</strong></span> to
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley print the detailed help with the full list of options and exit.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley The <code class="option">-v</code> causes <span class="command"><strong>mdig</strong></span> to
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley print the version number and exit.
The <code class="option">-4</code> option forces <span class="command"><strong>mdig</strong></span> to
The <code class="option">-6</code> option forces <span class="command"><strong>mdig</strong></span> to
Continue on errors (e.g. timeouts).
e.g. "[ key id = value ]".
IPv6 addresses to IP6.INT.
under the IP6.ARPA domain. To use the older RFC1886 method
<dt><span class="term"><code class="option">+[no]cookie[<span class="optional">=####</span>]</code></span></dt>
accepted. Setting a named flag (e.g. DO) will silently be
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.2 (Extended Support Version)</p>