]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add -t type### description to the dig man page
authorPaul Hoffman <paul.hoffman@icann.org>
Fri, 27 Apr 2018 01:08:03 +0000 (18:08 -0700)
committerEvan Hunt <each@isc.org>
Fri, 27 Apr 2018 07:01:41 +0000 (00:01 -0700)
(cherry picked from commit 2d957c6b9f7a4249dcb274a740f18223660d84fa)
(cherry picked from commit d742db122e6448572523b082640f3a36cd5c0fd3)
(cherry picked from commit efcad103e79a9500b555fa97a67affc1c3a191f5)

bin/dig/dig.docbook

index f1d7c77cc2c2076db9657a74488f80afe2cb5b85..b5aee1ecaebd029c1f4dd0695706824e18788b66 100644 (file)
         <term>-i</term>
         <listitem>
          <para>
-           Do reverse IPv6 lookups using the obsolete RFC1886 IP6.INT
+           Do reverse IPv6 lookups using the obsolete RFC 1886 IP6.INT
            domain, which is no longer in use. Obsolete bit string
-           label queries (RFC2874) are not attempted.
+           label queries (RFC 2874) are not attempted.
          </para>
         </listitem>
       </varlistentry>
         <term>-t <replaceable class="parameter">type</replaceable></term>
         <listitem>
          <para>
-           The resource record type to query. It can be any valid query type
-           which is
-           supported in BIND 9.  The default query type is "A", unless the
-           <option>-x</option> option is supplied to indicate a reverse lookup.
-           A zone transfer can be requested by specifying a type of AXFR.  When
+           The resource record type to query. It can be any valid query
+           type.  If it is a resource record type supported in BIND 9, it
+           can be given by the type mnemonic (such as "NS" or "AAAA").
+           The default query type is "A", unless the <option>-x</option>
+           option is supplied to indicate a reverse lookup.  A zone
+           transfer can be requested by specifying a type of AXFR.  When
            an incremental zone transfer (IXFR) is required, set the
            <parameter>type</parameter> to <literal>ixfr=N</literal>.
            The incremental zone transfer will contain the changes
            made to the zone since the serial number in the zone's SOA
-           record was
-           <parameter>N</parameter>.
+           record was <parameter>N</parameter>.
          </para>
-        </listitem>
+         <para>
+           All resource record types can be expressed as "TYPEnn", where
+           "nn" is the number of the type. If the resource record type is
+           not supported in BIND 9, the result will be displayed as
+           described in RFC 3597.
+         </para>
+       </listitem>
       </varlistentry>
 
       <varlistentry>
@@ -1103,7 +1109,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
       <citerefentry>
        <refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
       </citerefentry>,
-      <citetitle>RFC1035</citetitle>.
+      <citetitle>RFC 1035</citetitle>.
     </para>
   </refsection>