mdig.docbook revision 5688a47c152def63dd2f5fb9a93911a0df46162e
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt<!ENTITY mdash "—">]>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt - Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt - This Source Code Form is subject to the terms of the Mozilla Public
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt - License, v. 2.0. If a copy of the MPL was not distributed with this
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt - file, You can obtain one at http://mozilla.org/MPL/2.0/.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt<!-- Converted by db4-upgrade version 1.0 -->
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.mdig">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <refentryinfo>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt </refentryinfo>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refentrytitle><application>mdig</application></refentrytitle>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refnamediv>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refname><application>mdig</application></refname>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refpurpose>DNS pipelined lookup utility</refpurpose>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </refnamediv>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </copyright>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refsynopsisdiv>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-f <replaceable class="parameter">filename</replaceable></option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-h</option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-v</option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-4</option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-6</option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-m</option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-b <replaceable class="parameter">address</replaceable></option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-p <replaceable class="parameter">port#</replaceable></option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">class</replaceable></option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">type</replaceable></option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <arg choice="opt" rep="norepeat"><option>-i</option></arg>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <arg choice="opt" rep="norepeat"><option>-x <replaceable class="parameter">addr</replaceable></option></arg>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </cmdsynopsis>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </cmdsynopsis>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </cmdsynopsis>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt </refsynopsisdiv>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <refsection><info><title>DESCRIPTION</title></info>
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt is a multiple/pipelined query version of <command>dig</command>:
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt instead of waiting for a response after sending each query,
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt it begins by sending all queries. Responses are displayed in
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt the order in which they are received, not in the order the
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt corresponding queries were sent.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <command>mdig</command> options are a subset of the
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <command>dig</command> options, and are divided into "anywhere
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt options" which can occur anywhere, "global options" which must
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt occur before the query name (or they are ignored with a warning),
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt and "local options" which apply to the next query on the command
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt The <arg choice="req" rep="norepeat">@server</arg> option is a mandatory global
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt option. It is the name or IP address of the name server to query.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt (Unlike <command>dig</command>, this value is not retrieved from
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <filename>/etc/resolv.conf</filename>.) It can be an IPv4 address
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt in dotted-decimal notation, an IPv6 address in colon-delimited
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt notation, or a hostname. When the supplied
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt <parameter>server</parameter> argument is a hostname,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <command>mdig</command> resolves that name before querying
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt the name server.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt provides a number of query options which affect
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt the way in which lookups are made and the results displayed. Some of
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt these set or reset flag bits in the query header, some determine which
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt sections of the answer get printed, and others determine the timeout
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt and retry strategies.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Each query option is identified by a keyword preceded by a plus
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt sign (<literal>+</literal>). Some keywords set or reset an
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt option. These may be preceded by the string <literal>no</literal>
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
accepted. Setting a named flag (e.g. DO) will silently be