dig.html revision 1059bc2e42e8214f8b73d3b4cd181d8394a94a6a
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Copyright (C) 2004-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Copyright (C) 2000-2003 Internet Software Consortium.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Permission to use, copy, modify, and/or distribute this software for any
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - purpose with or without fee is hereby granted, provided that the above
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - copyright notice and this permission notice appear in all copies.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov - PERFORMANCE OF THIS SOFTWARE.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<!-- $Id$ -->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<a name="man.dig"></a><div class="titlepage"></div>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v</code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<div class="cmdsynopsis"><p><code class="command">dig</code> [<code class="option">-h</code>]</p></div>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<p><span><strong class="command">dig</strong></span>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov (domain information groper) is a flexible tool
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov for interrogating DNS name servers. It performs DNS lookups and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov displays the answers that are returned from the name server(s) that
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov were queried. Most DNS administrators use <span><strong class="command">dig</strong></span> to
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov troubleshoot DNS problems because of its flexibility, ease of use and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov clarity of output. Other lookup tools tend to have less functionality
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov than <span><strong class="command">dig</strong></span>.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Although <span><strong class="command">dig</strong></span> is normally used with
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov command-line
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov arguments, it also has a batch mode of operation for reading lookup
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov requests from a file. A brief summary of its command-line arguments
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov and options is printed when the <code class="option">-h</code> option is given.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Unlike earlier versions, the BIND 9 implementation of
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> allows multiple lookups to be issued
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov command line.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Unless it is told to query a specific name server,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> will try each of the servers listed in
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="filename">/etc/resolv.conf</code>. If no usable server addresses
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov are found, <span><strong class="command">dig</strong></span> will send the query to the local
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov When no command line arguments or options are given,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> will perform an NS query for "." (the root).
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov It is possible to set per-user defaults for <span><strong class="command">dig</strong></span> via
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="filename">${HOME}/.digrc</code>. This file is read and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov any options in it
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov are applied before the command line arguments.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The IN and CH class names overlap with the IN and CH top level
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov domain names. Either use the <code class="option">-t</code> and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-c</code> options to specify the type and class,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov use the <code class="option">-q</code> the specify the domain name, or
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov use "IN." and "CH." when looking up these top level domains.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov A typical invocation of <span><strong class="command">dig</strong></span> looks like:
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<pre class="programlisting"> dig @server name type </pre>
052519c2d30736afb1861979b73d5a889cf7fba8Garrett D'Amore<dt><span class="term"><code class="constant">server</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov is the name or IP address of the name server to query. This
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov can be an IPv4 address in dotted-decimal notation or an IPv6
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov address in colon-delimited notation. When the supplied
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>server</code></em> argument is a hostname,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> resolves that name before querying
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov that name server.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov If no <em class="parameter"><code>server</code></em> argument is
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov provided, <span><strong class="command">dig</strong></span> consults
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="filename">/etc/resolv.conf</code>; if an
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov address is found there, it queries the name server at
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov that address. If either of the <code class="option">-4</code> or
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-6</code> options are in use, then
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov only addresses for the corresponding transport
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov will be tried. If no usable addresses are found,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> will send the query to the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov local host. The reply from the name server that
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov responds is displayed.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="constant">name</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov is the name of the resource record that is to be looked up.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="constant">type</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov indicates what type of query is required —
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov ANY, A, MX, SIG, etc.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>type</code></em> can be any valid query
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>type</code></em> argument is supplied,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> will perform a lookup for an
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-b</code> option sets the source IP address of the query
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov to <em class="parameter"><code>address</code></em>. This must be a valid
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov one of the host's network interfaces or "0.0.0.0" or "::". An optional
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov may be specified by appending "#<port>"
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The default query class (IN for internet) is overridden by the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-c</code> option. <em class="parameter"><code>class</code></em> is
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov class, such as HS for Hesiod records or CH for Chaosnet records.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-f</code> option makes <span><strong class="command">dig </strong></span>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov in batch mode by reading a list of lookup requests to process from the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov file <em class="parameter"><code>filename</code></em>. The file contains a
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov queries, one per line. Each entry in the file should be organized in
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov the same way they would be presented as queries to
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> using the command-line interface.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-m</code> option enables memory usage debugging.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov If a non-standard port number is to be queried, the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-p</code> option is used. <em class="parameter"><code>port#</code></em> is
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov the port number that <span><strong class="command">dig</strong></span> will send its
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov instead of the standard DNS port number 53. This option would be used
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov to test a name server that has been configured to listen for queries
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov on a non-standard port number.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-4</code> option forces <span><strong class="command">dig</strong></span>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov use IPv4 query transport. The <code class="option">-6</code> option forces
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <span><strong class="command">dig</strong></span> to only use IPv6 query transport.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-t</code> option sets the query type to
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>type</code></em>. It can be any valid query type
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov supported in BIND 9. The default query type is "A", unless the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-x</code> option is supplied to indicate a reverse lookup.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov A zone transfer can be requested by specifying a type of AXFR. When
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov an incremental zone transfer (IXFR) is required,
5a81b4ad6a940aead6f0789e059a6f8fbc678be0David Höppner <em class="parameter"><code>type</code></em> is set to <code class="literal">ixfr=N</code>.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The incremental zone transfer will contain the changes made to the zone
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov since the serial number in the zone's SOA record was
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-q</code> option sets the query name to
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>name</code></em>. This is useful to distinguish the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>name</code></em> from other arguments.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The <code class="option">-v</code> causes <span><strong class="command">dig</strong></span> to
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov print the version number and exit.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Reverse lookups — mapping addresses to names — are simplified by the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="option">-x</code> option. <em class="parameter"><code>addr</code></em> is
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov address in dotted-decimal notation, or a colon-delimited IPv6 address.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov When this option is used, there is no need to provide the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>name</code></em>, <em class="parameter"><code>class</code></em> and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <em class="parameter"><code>type</code></em> arguments. <span><strong class="command">dig</strong></span>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov automatically performs a lookup for a name like
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov <code class="literal">11.12.13.10.in-addr.arpa</code> and sets the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov query type and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov class to PTR and IN respectively. By default, IPv6 addresses are
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov looked up using nibble format under the IP6.ARPA domain.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov To use the older RFC1886 method using the IP6.INT domain
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov specify the <code class="option">-i</code> option. Bit string labels (RFC2874)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe are now experimental and are not attempted.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov To sign the DNS queries sent by <span><strong class="command">dig</strong></span> and
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov responses using transaction signatures (TSIG), specify a TSIG key file
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe using the <code class="option">-k</code> option. You can also specify the TSIG
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe key itself on the command line using the <code class="option">-y</code> option;
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <em class="parameter"><code>hmac</code></em> is the type of the TSIG, default HMAC-MD5,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <em class="parameter"><code>name</code></em> is the name of the TSIG key and
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <em class="parameter"><code>key</code></em> is the actual key. The key is a
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe encoded string, typically generated by
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov <span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Caution should be taken when using the <code class="option">-y</code> option on
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe multi-user systems as the key can be visible in the output from
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <span class="citerefentry"><span class="refentrytitle">ps</span>(1)</span>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe or in the shell's history file. When
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe using TSIG authentication with <span><strong class="command">dig</strong></span>, the name
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe server that is queried needs to know the key and algorithm that is
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe being used. In BIND, this is done by providing appropriate
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe <span><strong class="command">key</strong></span> and <span><strong class="command">server</strong></span> statements in
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<p><span><strong class="command">dig</strong></span>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov provides a number of query options which affect
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov the way in which lookups are made and the results displayed. Some of
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe these set or reset flag bits in the query header, some determine which
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov sections of the answer get printed, and others determine the timeout
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov and retry strategies.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Each query option is identified by a keyword preceded by a plus sign
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov (<code class="literal">+</code>). Some keywords set or reset an
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov option. These may be preceded
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe by the string <code class="literal">no</code> to negate the meaning of
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov that keyword. Other
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe keywords assign values to options like the timeout interval. They
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov have the form <code class="option">+keyword=value</code>.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov The query options are:
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="option">+[no]aaflag</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov A synonym for <em class="parameter"><code>+[no]aaonly</code></em>.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="option">+[no]aaonly</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Sets the "aa" flag in the query.
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov<dt><span class="term"><code class="option">+[no]additional</code></span></dt>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Display [do not display] the additional section of a
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov reply. The default is to display it.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="option">+[no]adflag</code></span></dt>
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov Set [do not set] the AD (authentic data) bit in the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe query. This requests the server to return whether
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov all of the answer and authority sections have all
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov been validated as secure according to the security
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe policy of the server. AD=1 indicates that all records
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov have been validated as secure and the answer is not
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe from a OPT-OUT range. AD=0 indicate that some part
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov of the answer was insecure or not validated. This
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bit is set by default.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<dt><span class="term"><code class="option">+[no]all</code></span></dt>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Set or clear all display flags.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<dt><span class="term"><code class="option">+[no]answer</code></span></dt>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe Display [do not display] the answer section of a
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov reply. The default is to display it.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov<dt><span class="term"><code class="option">+[no]authority</code></span></dt>
e.g. "[ key id = value ]".
accepted. Setting a named flag (e.g. DO) will silently be
<dt><span class="term"><code class="option">+[no]sit[<span class="optional">=####</span>]</code></span></dt>