]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
document that nslookup defaults to A + AAAA lookups
authorMark Andrews <marka@isc.org>
Wed, 15 Jan 2020 02:06:50 +0000 (13:06 +1100)
committerMark Andrews <marka@isc.org>
Sun, 19 Jan 2020 23:14:07 +0000 (23:14 +0000)
bin/dig/nslookup.docbook

index d08f977a5f00f2aac40101ea88942f49d8f0d7dd..b349d7c1ec46c06317feafee51cd824a0976c385 100644 (file)
@@ -308,7 +308,7 @@ nslookup -query=hinfo  -timeout=10
                     The class specifies the protocol group of the information.
 
                   </para>
-                 <para>
+                  <para>
                     (Default = IN; abbreviation = cl)
                   </para>
                 </listitem>
@@ -318,10 +318,10 @@ nslookup -query=hinfo  -timeout=10
                 <term><constant><replaceable><optional>no</optional></replaceable>debug</constant></term>
                 <listitem>
                   <para>
-                   Turn on or off the display of the full response packet and
-                   any intermediate response packets when searching.
+                    Turn on or off the display of the full response packet and
+                    any intermediate response packets when searching.
                   </para>
-                 <para>
+                  <para>
                     (Default = nodebug; abbreviation = <optional>no</optional>deb)
                   </para>
                 </listitem>
@@ -332,9 +332,9 @@ nslookup -query=hinfo  -timeout=10
                 <listitem>
                   <para>
                     Turn debugging mode on or off.  This displays more about
-                   what nslookup is doing.
+                    what nslookup is doing.
                   </para>
-                 <para>
+                  <para>
                     (Default = nod2)
                   </para>
                 </listitem>
@@ -358,7 +358,7 @@ nslookup -query=hinfo  -timeout=10
                     names in the domain search list to the request until an
                     answer is received.
                   </para>
-                 <para>
+                  <para>
                     (Default = search)
                   </para>
                 </listitem>
@@ -370,7 +370,7 @@ nslookup -query=hinfo  -timeout=10
                   <para>
                     Change the default TCP/UDP name server port to <replaceable>value</replaceable>.
                   </para>
-                 <para>
+                  <para>
                     (Default = 53; abbreviation = po)
                   </para>
                 </listitem>
@@ -389,9 +389,15 @@ nslookup -query=hinfo  -timeout=10
                   <para>
                     Change the type of the information query.
                   </para>
-                 <para>
-                    (Default = A; abbreviations = q, ty)
+                  <para>
+                    (Default = A and then AAAA; abbreviations = q, ty)
                   </para>
+                    <para>
+                      <emphasis role="bold">Note:</emphasis> It is
+                      only possible to specify one query type, only
+                      the default behavior looks up both when an
+                      alternative is not specified.
+                    </para>
                 </listitem>
               </varlistentry>
 
@@ -403,7 +409,7 @@ nslookup -query=hinfo  -timeout=10
                     have the
                     information.
                   </para>
-                 <para>
+                  <para>
                     (Default = recurse; abbreviation = [no]rec)
                   </para>
                 </listitem>
@@ -413,9 +419,9 @@ nslookup -query=hinfo  -timeout=10
                 <term><constant>ndots=</constant><replaceable>number</replaceable></term>
                 <listitem>
                   <para>
-                   Set the number of dots (label separators) in a domain
-                   that will disable searching.  Absolute names always
-                   stop searching.
+                    Set the number of dots (label separators) in a domain
+                    that will disable searching.  Absolute names always
+                    stop searching.
                   </para>
                 </listitem>
               </varlistentry>
@@ -446,7 +452,7 @@ nslookup -query=hinfo  -timeout=10
                     Always use a virtual circuit when sending requests to the
                     server.
                   </para>
-                 <para>
+                  <para>
                     (Default = novc)
                   </para>
                 </listitem>
@@ -456,15 +462,15 @@ nslookup -query=hinfo  -timeout=10
                 <term><constant><replaceable><optional>no</optional></replaceable>fail</constant></term>
                 <listitem>
                   <para>
-                   Try the next nameserver if a nameserver responds with
-                   SERVFAIL or a referral (nofail) or terminate query
-                   (fail) on such a response.
-                 </para>
-                 <para>
+                    Try the next nameserver if a nameserver responds with
+                    SERVFAIL or a referral (nofail) or terminate query
+                    (fail) on such a response.
+                  </para>
+                  <para>
                     (Default = nofail)
                   </para>
-               </listitem>
-             </varlistentry>
+                </listitem>
+              </varlistentry>
 
             </variablelist>
           </para>