57726f
diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook
57726f
index 1079421..f11abd1 100644
57726f
--- a/bin/dig/dig.docbook
57726f
+++ b/bin/dig/dig.docbook
57726f
@@ -1177,6 +1177,39 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
57726f
     </para>
57726f
   </refsection>
57726f
 
57726f
+  <refsection><info><title>RETURN CODES</title></info>
57726f
+    <para>
57726f
+      <command>Dig</command> return codes are:
57726f
+      <variablelist>
57726f
+        <varlistentry>
57726f
+          <listitem>
57726f
+            <para>0: Everything went well, including things like NXDOMAIN</para>
57726f
+          </listitem>
57726f
+        </varlistentry>
57726f
+        <varlistentry>
57726f
+          <listitem>
57726f
+            <para>1: Usage error</para>
57726f
+          </listitem>
57726f
+        </varlistentry>
57726f
+        <varlistentry>
57726f
+          <listitem>
57726f
+            <para>8: Couldn't open batch file</para>
57726f
+          </listitem>
57726f
+        </varlistentry>
57726f
+        <varlistentry>
57726f
+          <listitem>
57726f
+            <para>9: No reply from server</para>
57726f
+          </listitem>
57726f
+        </varlistentry>
57726f
+        <varlistentry>
57726f
+          <listitem>
57726f
+            <para>10: Internal error</para>
57726f
+          </listitem>
57726f
+        </varlistentry>
57726f
+      </variablelist>
57726f
+    </para>
57726f
+  </refsection>
57726f
+
57726f
   <refsection><info><title>FILES</title></info>
57726f
 
57726f
     <para><filename>/etc/resolv.conf</filename>