dig.docbook revision 0db6bf459f7afa1f9dc0690a521df19955c89dbf
fa9e4066f08beec538e775443c5be79dd423fcabahrens<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
fa9e4066f08beec538e775443c5be79dd423fcabahrens "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
fa9e4066f08beec538e775443c5be79dd423fcabahrens [<!ENTITY mdash "—">]>
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock - Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock - Copyright (C) 2000-2003 Internet Software Consortium.
fa9e4066f08beec538e775443c5be79dd423fcabahrens - Permission to use, copy, modify, and/or distribute this software for any
fa9e4066f08beec538e775443c5be79dd423fcabahrens - purpose with or without fee is hereby granted, provided that the above
fa9e4066f08beec538e775443c5be79dd423fcabahrens - copyright notice and this permission notice appear in all copies.
fa9e4066f08beec538e775443c5be79dd423fcabahrens - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fa9e4066f08beec538e775443c5be79dd423fcabahrens - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
fa9e4066f08beec538e775443c5be79dd423fcabahrens - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fa9e4066f08beec538e775443c5be79dd423fcabahrens - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fa9e4066f08beec538e775443c5be79dd423fcabahrens - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
fa9e4066f08beec538e775443c5be79dd423fcabahrens - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fa9e4066f08beec538e775443c5be79dd423fcabahrens - PERFORMANCE OF THIS SOFTWARE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens<!-- $Id: dig.docbook,v 1.42 2008/10/13 21:18:56 jreed Exp $ -->
fa9e4066f08beec538e775443c5be79dd423fcabahrens <refentryinfo>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refentryinfo>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <refnamediv>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refnamediv>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <copyright>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </copyright>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <copyright>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </copyright>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <refsynopsisdiv>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <cmdsynopsis>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-b <replaceable class="parameter">address</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-f <replaceable class="parameter">filename</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-k <replaceable class="parameter">filename</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-p <replaceable class="parameter">port#</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-q <replaceable class="parameter">name</replaceable></option></arg>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <arg><option>-x <replaceable class="parameter">addr</replaceable></option></arg>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <arg><option>-y <replaceable class="parameter"><optional>hmac:</optional>name:key</replaceable></option></arg>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </cmdsynopsis>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <cmdsynopsis>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </cmdsynopsis>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <cmdsynopsis>
169cdae232f15e542d6af0a9ce30c3f84222bc0fmarks </cmdsynopsis>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refsynopsisdiv>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw (domain information groper) is a flexible tool
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw for interrogating DNS name servers. It performs DNS lookups and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw displays the answers that are returned from the name server(s) that
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw were queried. Most DNS administrators use <command>dig</command> to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw troubleshoot DNS problems because of its flexibility, ease of use and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw clarity of output. Other lookup tools tend to have less functionality
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw command-line
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw arguments, it also has a batch mode of operation for reading lookup
fa9e4066f08beec538e775443c5be79dd423fcabahrens requests from a file. A brief summary of its command-line arguments
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw and options is printed when the <option>-h</option> option is given.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Unlike earlier versions, the BIND 9 implementation of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> allows multiple lookups to be issued
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw command line.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Unless it is told to query a specific name server,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> will try each of the servers listed
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw When no command line arguments or options are given,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> will perform an NS query for "." (the root).
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw It is possible to set per-user defaults for <command>dig</command> via
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <filename>${HOME}/.digrc</filename>. This file is read and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw any options in it
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw are applied before the command line arguments.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The IN and CH class names overlap with the IN and CH top level
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <option>-c</option> options to specify the type and class,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw use the <option>-q</option> the specify the domain name, or
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw use "IN." and "CH." when looking up these top level domains.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw A typical invocation of <command>dig</command> looks like:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <programlisting> dig @server name type </programlisting>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <variablelist>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw is the name or IP address of the name server to query. This can
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw be an IPv4
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw address in dotted-decimal notation or an IPv6
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw address in colon-delimited notation. When the supplied
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw querying that name
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw argument is provided,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> consults <filename>/etc/resolv.conf</filename>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw and queries the name servers listed there. The reply from the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw server that responds is displayed.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw is the name of the resource record that is to be looked up.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw indicates what type of query is required —
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ANY, A, MX, SIG, etc.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw type. If no
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </variablelist>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The <option>-b</option> option sets the source IP address of the query
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw address on
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw one of the host's network interfaces or "0.0.0.0" or "::". An optional
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw may be specified by appending "#<port>"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The default query class (IN for internet) is overridden by the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <option>-c</option> option. <parameter>class</parameter> is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw class, such as HS for Hesiod records or CH for Chaosnet records.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The <option>-f</option> option makes <command>dig </command>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw in batch mode by reading a list of lookup requests to process from the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw file <parameter>filename</parameter>. The file contains a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw queries, one per line. Each entry in the file should be organized in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw the same way they would be presented as queries to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> using the command-line interface.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The <option>-m</option> option enables memory usage debugging.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <!-- It enables ISC_MEM_DEBUGTRACE and ISC_MEM_DEBUGRECORD
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw documented in include/isc/mem.h -->
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw If a non-standard port number is to be queried, the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <option>-p</option> option is used. <parameter>port#</parameter> is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw the port number that <command>dig</command> will send its
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw instead of the standard DNS port number 53. This option would be used
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw to test a name server that has been configured to listen for queries
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw on a non-standard port number.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The <option>-4</option> option forces <command>dig</command>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw use IPv4 query transport. The <option>-6</option> option forces
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> to only use IPv6 query transport.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>type</parameter>. It can be any valid query type
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw supported in BIND 9. The default query type is "A", unless the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <option>-x</option> option is supplied to indicate a reverse lookup.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw A zone transfer can be requested by specifying a type of AXFR. When
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw an incremental zone transfer (IXFR) is required,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>type</parameter> is set to <literal>ixfr=N</literal>.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The incremental zone transfer will contain the changes made to the zone
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw since the serial number in the zone's SOA record was
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>name</parameter>. This useful do distinguish the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Reverse lookups — mapping addresses to names — are simplified by the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <option>-x</option> option. <parameter>addr</parameter> is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw address in dotted-decimal notation, or a colon-delimited IPv6 address.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw When this option is used, there is no need to provide the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>name</parameter>, <parameter>class</parameter> and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>type</parameter> arguments. <command>dig</command>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw automatically performs a lookup for a name like
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <literal>11.12.13.10.in-addr.arpa</literal> and sets the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw query type and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw class to PTR and IN respectively. By default, IPv6 addresses are
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw looked up using nibble format under the IP6.ARPA domain.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw To use the older RFC1886 method using the IP6.INT domain
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw specify the <option>-i</option> option. Bit string labels (RFC2874)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw are now experimental and are not attempted.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw To sign the DNS queries sent by <command>dig</command> and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw responses using transaction signatures (TSIG), specify a TSIG key file
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw using the <option>-k</option> option. You can also specify the TSIG
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw key itself on the command line using the <option>-y</option> option;
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>hmac</parameter> is the type of the TSIG, default HMAC-MD5,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>name</parameter> is the name of the TSIG key and
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>key</parameter> is the actual key. The key is a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw encoded string, typically generated by
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <citerefentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </citerefentry>.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Caution should be taken when using the <option>-y</option> option on
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw multi-user systems as the key can be visible in the output from
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <citerefentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refentrytitle>ps</refentrytitle><manvolnum>1</manvolnum>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </citerefentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw or in the shell's history file. When
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw using TSIG authentication with <command>dig</command>, the name
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw server that is queried needs to know the key and algorithm that is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw being used. In BIND, this is done by providing appropriate
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>key</command> and <command>server</command> statements in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw provides a number of query options which affect
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw the way in which lookups are made and the results displayed. Some of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw these set or reset flag bits in the query header, some determine which
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw sections of the answer get printed, and others determine the timeout
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw and retry strategies.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Each query option is identified by a keyword preceded by a plus sign
fa9e4066f08beec538e775443c5be79dd423fcabahrens (<literal>+</literal>). Some keywords set or reset an
fa9e4066f08beec538e775443c5be79dd423fcabahrens option. These may be preceded
fa9e4066f08beec538e775443c5be79dd423fcabahrens by the string <literal>no</literal> to negate the meaning of
fa9e4066f08beec538e775443c5be79dd423fcabahrens that keyword. Other
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw keywords assign values to options like the timeout interval. They
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The query options are:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <variablelist>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Use [do not use] TCP when querying name servers. The default
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw behavior is to use UDP unless an AXFR or IXFR query is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw requested, in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw which case a TCP connection is used.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Use [do not use] TCP when querying name servers. This alternate
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw provided for backwards
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw compatibility. The "vc" stands for "virtual circuit".
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks Ignore truncation in UDP responses instead of retrying with TCP.
fa9e4066f08beec538e775443c5be79dd423fcabahrens default, TCP retries are performed.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks Set the search list to contain the single domain
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks search list
fa9e4066f08beec538e775443c5be79dd423fcabahrens option were given.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Use [do not use] the search list defined by the searchlist or
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The search list is not used by default.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
169cdae232f15e542d6af0a9ce30c3f84222bc0fmarks Perform [do not perform] a search showing intermediate
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Deprecated, treated as a synonym for <parameter>+[no]search</parameter>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Sets the "aa" flag in the query.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Set [do not set] the AD (authentic data) bit in the query. The
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw currently has a standard meaning only in responses, not in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw but the ability to set the bit in the query is provided for
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw completeness.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Set [do not set] the CD (checking disabled) bit in the query.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw requests the server to not perform DNSSEC validation of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw responses.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Display [do not display] the CLASS when printing the record.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Display [do not display] the TTL when printing the record.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Toggle the setting of the RD (recursion desired) bit in the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw This bit is set by default, which means <command>dig</command>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw normally sends recursive queries. Recursion is automatically
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw attempts to find the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw authoritative name servers for the zone containing the name
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw looked up and display the SOA record that each name server has
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Toggle tracing of the delegation path from the root name servers
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw the name being looked up. Tracing is disabled by default. When
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw iterative queries to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw resolve the name being looked up. It will follow referrals from
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw root servers, showing the answer from each server that was used
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw resolve the lookup.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
4c841f6070b4f88f9dc008de526b313bbebd4e32marks Toggles the printing of the initial comment in the output
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marks identifying
4c841f6070b4f88f9dc008de526b313bbebd4e32marks options that have
4c841f6070b4f88f9dc008de526b313bbebd4e32marks been applied. This comment is printed by default.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Provide a terse answer. The default is to print the answer in a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw verbose form.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Show [or do not show] the IP address and port number that
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw supplied the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw is enabled. If
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw short form answers are requested, the default is not to show the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw source address and port number of the server that provided the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Toggle the display of comment lines in the output. The default
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw print comments.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
bda89588bd7667394a834e8a9a34612cce2ae9c3jp <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw This query option toggles the printing of statistics: when the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw was made, the size of the reply and so on. The default
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw behavior is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw to print the query statistics.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Print [do not print] the query as it is sent.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw By default, the query is not printed.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Print [do not print] the question section of a query when an
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw returned. The default is to print the question section as a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Display [do not display] the answer section of a reply. The
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marks is to display it.
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marks </listitem>
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marks </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Display [do not display] the authority section of a reply. The
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw default is to display it.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Display [do not display] the additional section of a reply.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The default is to display it.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Set or clear all display flags.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Sets the timeout for a query to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw timeout is 5 seconds.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw than 1 will result
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw in a query timeout of 1 second being applied.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Sets the number of times to try UDP queries to server to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw zero, the number of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw tries is silently rounded up to 1.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Sets the number of times to retry UDP queries to server to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw the initial
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Set the number of dots that have to appear in
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>name</parameter> to <parameter>D</parameter> for it to be
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw considered absolute. The default value is that defined using
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks ndots statement in <filename>/etc/resolv.conf</filename>, or 1 if no
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ndots statement is present. Names with fewer dots are
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks interpreted as
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks relative names and will be searched for in the domains listed in
2459a9eaca6b6525c76289d22ffe4c96be1956d6marks <option>search</option> or <option>domain</option> directive in
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens Set the UDP message buffer size advertised using EDNS0 to
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <parameter>B</parameter> bytes. The maximum and minimum sizes
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw of this buffer are 65535 and 0 respectively. Values outside
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw this range are rounded up or down appropriately.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Values other than zero will cause a EDNS query to be sent.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens Specify the EDNS version to query with. Valid values
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw are 0 to 255. Setting the EDNS version will cause a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw EDNS query to be sent. <option>+noedns</option> clears the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw remembered EDNS version.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Print records like the SOA records in a verbose multi-line
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw format with human-readable comments. The default is to print
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw each record on a single line, to facilitate machine parsing
bda89588bd7667394a834e8a9a34612cce2ae9c3jp </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Do not try the next server if you receive a SERVFAIL. The
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw default is
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw to not try the next server which is the reverse of normal stub
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
29a0b7379cd3103841d05e3ed04486412049acccmarks </varlistentry>
29a0b7379cd3103841d05e3ed04486412049acccmarks <varlistentry>
29a0b7379cd3103841d05e3ed04486412049acccmarks Attempt to display the contents of messages which are malformed.
e6032be1b8a5a1d03081e0d62b624db95c4cf8b7marks The default is to not display malformed answers.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens Requests DNSSEC records be sent by setting the DNSSEC OK bit
fa9e4066f08beec538e775443c5be79dd423fcabahrens in the OPT record in the additional section of the query.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw Chase DNSSEC signature chains. Requires dig be compiled with
fa9e4066f08beec538e775443c5be79dd423fcabahrens -DDIG_SIGCHASE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens Specifies a file containing trusted keys to be used with
fa9e4066f08beec538e775443c5be79dd423fcabahrens <option>+sigchase</option>. Each DNSKEY record must be
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw on its own line.
fa9e4066f08beec538e775443c5be79dd423fcabahrens <filename>trusted-key.key</filename> in the current directory.
fa9e4066f08beec538e775443c5be79dd423fcabahrens Requires dig be compiled with -DDIG_SIGCHASE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens When chasing DNSSEC signature chains perform a top-down
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw validation.
fa9e4066f08beec538e775443c5be79dd423fcabahrens Requires dig be compiled with -DDIG_SIGCHASE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens Include an EDNS name server ID request when sending a query.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </listitem>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </varlistentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </variablelist>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refsect1>
fa9e4066f08beec538e775443c5be79dd423fcabahrens specifying multiple queries on the command line (in addition to
fa9e4066f08beec538e775443c5be79dd423fcabahrens supporting the <option>-f</option> batch file option). Each of those
fa9e4066f08beec538e775443c5be79dd423fcabahrens queries can be supplied with its own set of flags, options and query
fa9e4066f08beec538e775443c5be79dd423fcabahrens In this case, each <parameter>query</parameter> argument
fa9e4066f08beec538e775443c5be79dd423fcabahrens represent an
fa9e4066f08beec538e775443c5be79dd423fcabahrens individual query in the command-line syntax described above. Each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw consists of any of the standard options and flags, the name to be
fa9e4066f08beec538e775443c5be79dd423fcabahrens looked up, an optional query type and class and any query options that
fa9e4066f08beec538e775443c5be79dd423fcabahrens should be applied to that query.
fa9e4066f08beec538e775443c5be79dd423fcabahrens A global set of query options, which should be applied to all queries,
fa9e4066f08beec538e775443c5be79dd423fcabahrens can also be supplied. These global query options must precede the
fa9e4066f08beec538e775443c5be79dd423fcabahrens first tuple of name, class, type, options, flags, and query options
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw supplied on the command line. Any global query options (except
fa9e4066f08beec538e775443c5be79dd423fcabahrens overridden by a query-specific set of query options. For example:
fa9e4066f08beec538e775443c5be79dd423fcabahrens <programlisting>
fa9e4066f08beec538e775443c5be79dd423fcabahrens</programlisting>
fa9e4066f08beec538e775443c5be79dd423fcabahrens command line
fa9e4066f08beec538e775443c5be79dd423fcabahrens to make three lookups: an ANY query for <literal>www.isc.org</literal>, a
fa9e4066f08beec538e775443c5be79dd423fcabahrens reverse lookup of 127.0.0.1 and a query for the NS records of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw applied, so
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw that <command>dig</command> shows the initial query it made
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lookup. The final query has a local query option of
bda89588bd7667394a834e8a9a34612cce2ae9c3jp <parameter>+noqr</parameter> which means that <command>dig</command>
e0d35c4478bf9fd4080951b5b9d1f9a38948ba69marks will not print the initial query when it looks up the NS records for
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refsect1>
fa9e4066f08beec538e775443c5be79dd423fcabahrens If <command>dig</command> has been built with IDN (internationalized
fa9e4066f08beec538e775443c5be79dd423fcabahrens domain name) support, it can accept and display non-ASCII domain names.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <command>dig</command> appropriately converts character encoding of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw domain name before sending a request to DNS server or displaying a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw reply from the server.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw If you'd like to turn off the IDN support for some reason, defines
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw The IDN support is disabled if the variable is set when
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refentrytitle>host</refentrytitle><manvolnum>1</manvolnum>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw </citerefentry>,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <citerefentry>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </citerefentry>,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw <citerefentry>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
fa9e4066f08beec538e775443c5be79dd423fcabahrens </citerefentry>,
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refsect1>
fa9e4066f08beec538e775443c5be79dd423fcabahrens There are probably too many query options.
fa9e4066f08beec538e775443c5be79dd423fcabahrens </refsect1>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw - Local variables:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw - mode: sgml