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