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