]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] document return values from nslookup
authorEvan Hunt <each@isc.org>
Mon, 4 Jan 2016 23:38:06 +0000 (15:38 -0800)
committerEvan Hunt <each@isc.org>
Mon, 4 Jan 2016 23:38:06 +0000 (15:38 -0800)
bin/dig/nslookup.docbook

index c0ef025d7d40253c2dba9e8ec34cbd1eddcf44f3..b674a61697da6a7eabc3273e0d77935e2d4c0931 100644 (file)
@@ -479,6 +479,13 @@ nslookup -query=hinfo  -timeout=10
     </variablelist>
   </refsection>
 
+  <refsection><info><title>RETURN VALUES</title></info>
+    <para>
+      <command>nslookup</command> returns with an exit status of 1
+      if any query failed, and 0 otherwise.
+    </para>
+  </refsection>
+
   <refsection><info><title>FILES</title></info>
 
     <para><filename>/etc/resolv.conf</filename>