bc5dde
diff -up bind-9.9.2/bin/dig/dig.docbook.rh640538 bind-9.9.2/bin/dig/dig.docbook
bc5dde
--- bind-9.9.2/bin/dig/dig.docbook.rh640538	2012-09-27 02:35:19.000000000 +0200
bc5dde
+++ bind-9.9.2/bin/dig/dig.docbook	2012-11-12 14:47:17.385334972 +0100
bc5dde
@@ -961,6 +961,40 @@ dig +qr www.isc.org any -x 127.0.0.1 isc
bc5dde
   </refsect1>
bc5dde
 
bc5dde
   <refsect1>
bc5dde
+    <title>RETURN CODES</title>
bc5dde
+    <para>
bc5dde
+      <command>Dig</command> return codes are:
bc5dde
+      <variablelist>
bc5dde
+        <varlistentry>
bc5dde
+          <listitem>
bc5dde
+            <para>0: Everything went well, including things like NXDOMAIN</para>
bc5dde
+          </listitem>
bc5dde
+        </varlistentry>
bc5dde
+        <varlistentry>
bc5dde
+          <listitem>
bc5dde
+            <para>1: Usage error</para>
bc5dde
+          </listitem>
bc5dde
+        </varlistentry>
bc5dde
+        <varlistentry>
bc5dde
+          <listitem>
bc5dde
+            <para>8: Couldn't open batch file</para>
bc5dde
+          </listitem>
bc5dde
+        </varlistentry>
bc5dde
+        <varlistentry>
bc5dde
+          <listitem>
bc5dde
+            <para>9: No reply from server</para>
bc5dde
+          </listitem>
bc5dde
+        </varlistentry>
bc5dde
+        <varlistentry>
bc5dde
+          <listitem>
bc5dde
+            <para>10: Internal error</para>
bc5dde
+          </listitem>
bc5dde
+        </varlistentry>
bc5dde
+      </variablelist>
bc5dde
+    </para>
bc5dde
+  </refsect1>
bc5dde
+
bc5dde
+  <refsect1>
bc5dde
     <title>FILES</title>
bc5dde
     <para><filename>/etc/resolv.conf</filename>
bc5dde
     </para>