69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews<!ENTITY mdash "—">]>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
1633838b8255282d10af15c5c84cee5a51466712Bob Halley - This Source Code Form is subject to the terms of the Mozilla Public
1633838b8255282d10af15c5c84cee5a51466712Bob Halley - License, v. 2.0. If a copy of the MPL was not distributed with this
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - file, You can obtain one at http://mozilla.org/MPL/2.0/.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<!-- Converted by db4-upgrade version 1.0 -->
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.mdig">
1633838b8255282d10af15c5c84cee5a51466712Bob Halley <refentryinfo>
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence </refentryinfo>
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley <refentrytitle><application>mdig</application></refentrytitle>
9a4ce0c25809073f31226faa6ed94c70474cf363Bob Halley <refnamediv>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <refname><application>mdig</application></refname>
9a4ce0c25809073f31226faa6ed94c70474cf363Bob Halley <refpurpose>DNS pipelined lookup utility</refpurpose>
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews </refnamediv>
9afcd92352224325ed65919f69f7f58282fc6623Andreas Gustafsson <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
9afcd92352224325ed65919f69f7f58282fc6623Andreas Gustafsson <refsynopsisdiv>
9afcd92352224325ed65919f69f7f58282fc6623Andreas Gustafsson <arg choice="req" rep="norepeat">@server</arg>
9afcd92352224325ed65919f69f7f58282fc6623Andreas Gustafsson <arg choice="opt" rep="norepeat"><option>-f <replaceable class="parameter">filename</replaceable></option></arg>
9afcd92352224325ed65919f69f7f58282fc6623Andreas Gustafsson <arg choice="opt" rep="norepeat"><option>-h</option></arg>
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley <arg choice="opt" rep="norepeat"><option>-v</option></arg>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <arg choice="opt" rep="norepeat"><option>-4</option></arg>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat"><option>-6</option></arg>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat"><option>-m</option></arg>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat"><option>-b <replaceable class="parameter">address</replaceable></option></arg>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat"><option>-p <replaceable class="parameter">port#</replaceable></option></arg>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">class</replaceable></option></arg>
01956482905dd861a9b07d417d469955466b728dDamien Neil <arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">type</replaceable></option></arg>
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil <arg choice="opt" rep="norepeat"><option>-i</option></arg>
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil <arg choice="opt" rep="norepeat"><option>-x <replaceable class="parameter">addr</replaceable></option></arg>
b2a6ebf1bd4dad1410afba9012a61d87090f03adDamien Neil </cmdsynopsis>
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil </cmdsynopsis>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <arg choice="opt" rep="norepeat">@server</arg>
8f7b56e275abdaaec08ccac32ffc6174841ae60eMichael Graff </cmdsynopsis>
8f7b56e275abdaaec08ccac32ffc6174841ae60eMichael Graff </refsynopsisdiv>
8f7b56e275abdaaec08ccac32ffc6174841ae60eMichael Graff <refsection><info><title>DESCRIPTION</title></info>
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews is a multiple/pipelined query version of <command>dig</command>:
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil instead of waiting for a response after sending each query,
8f7b56e275abdaaec08ccac32ffc6174841ae60eMichael Graff it begins by sending all queries. Responses are displayed in
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington the order in which they are received, not in the order the
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington corresponding queries were sent.
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley <command>mdig</command> options are a subset of the
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley <command>dig</command> options, and are divided into "anywhere
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley options" which can occur anywhere, "global options" which must
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington occur before the query name (or they are ignored with a warning),
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington and "local options" which apply to the next query on the command
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley The <arg choice="req" rep="norepeat">@server</arg> option is a mandatory global
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley option. It is the name or IP address of the name server to query.
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley (Unlike <command>dig</command>, this value is not retrieved from
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil <filename>/etc/resolv.conf</filename>.) It can be an IPv4 address
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil in dotted-decimal notation, an IPv6 address in colon-delimited
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil notation, or a hostname. When the supplied
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil <parameter>server</parameter> argument is a hostname,
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil <command>mdig</command> resolves that name before querying
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil the name server.
f671a5c51cc59e266620c0c4026b054908fdd80cBob Halley provides a number of query options which affect
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil the way in which lookups are made and the results displayed. Some of
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil these set or reset flag bits in the query header, some determine which
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil sections of the answer get printed, and others determine the timeout
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil and retry strategies.
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley Each query option is identified by a keyword preceded by a plus
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley sign (<literal>+</literal>). Some keywords set or reset an
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley option. These may be preceded by the string <literal>no</literal>
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil to negate the meaning of that keyword. Other keywords assign
bf6d2e39124ab3d51c253f7acad9a4abef059be6Bob Halley values to options like the timeout interval. They have the
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington </refsection>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington <refsection><info><title>ANYWHERE OPTIONS</title></info>
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington The <option>-f</option> option makes <command>mdig</command>
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil operate in batch mode by reading a list of lookup requests to
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil process from the file <parameter>filename</parameter>. The file
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil contains a number of queries, one per line. Each entry in the
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil file should be organized in the same way they would be presented
e9453d609db9aed9efd2bb4fd287ff3ad11da0b2Damien Neil as queries to <command>mdig</command> using the command-line interface.
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington The <option>-h</option> causes <command>mdig</command> to
8f7b56e275abdaaec08ccac32ffc6174841ae60eMichael Graff print the detailed help with the full list of options and exit.
26d20cd51c968e111b4122536825368a17b5ca82Brian Wellington The <option>-v</option> causes <command>mdig</command> to
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews print the version number and exit.
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