08a89f4
From a76716d5d039947d6fe2cd49a151b16a29e12d42 Mon Sep 17 00:00:00 2001
08a89f4
From: Petr Mensik <pemensik@redhat.com>
08a89f4
Date: Mon, 4 Jan 2021 12:55:49 +0100
08a89f4
Subject: [PATCH] .rh640538
08a89f4
---
08a89f4
 bin/dig/dig.docbook | 43 +++++++++++++++++++++++++++++++++++++++++++
08a89f4
 1 file changed, 43 insertions(+)
08a89f4
3fed71e
diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook
08a89f4
index 8ccf207..6d16d37 100644
3fed71e
--- a/bin/dig/dig.docbook
3fed71e
+++ b/bin/dig/dig.docbook
08a89f4
@@ -1336,6 +1336,49 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
3fed71e
     </para>
3fed71e
   </refsection>
Adam Tkac cd3db89
 
3fed71e
+  <refsection><info><title>RETURN CODES</title></info>
08a89f4
+
Adam Tkac cd3db89
+    <para>
Adam Tkac cd3db89
+      <command>Dig</command> return codes are:
08a89f4
+
Adam Tkac cd3db89
+      <variablelist>
08a89f4
+	<varlistentry>
08a89f4
+	  <term>0</term>
08a89f4
+	  <listitem>
08a89f4
+	    <para>Everything went well, including things like NXDOMAIN.</para>
08a89f4
+	  </listitem>
08a89f4
+	</varlistentry>
08a89f4
+	<varlistentry>
08a89f4
+	  <term>1</term>
08a89f4
+	  <listitem>
08a89f4
+	    <para>Usage error.</para>
08a89f4
+	  </listitem>
08a89f4
+	</varlistentry>
08a89f4
+
08a89f4
+	<varlistentry>
08a89f4
+	  <term>8</term>
08a89f4
+	  <listitem>
08a89f4
+	    <para>Could not open batch file.</para>
08a89f4
+	  </listitem>
08a89f4
+	</varlistentry>
08a89f4
+	<varlistentry>
08a89f4
+	  <term>9</term>
08a89f4
+	  <listitem>
08a89f4
+	    <para>No reply from server.
08a89f4
+	    </para>
08a89f4
+	  </listitem>
08a89f4
+	</varlistentry>
08a89f4
+	<varlistentry>
08a89f4
+	  <term>10</term>
08a89f4
+	  <listitem>
08a89f4
+	    <para>Internal error.
08a89f4
+	    </para>
08a89f4
+	  </listitem>
08a89f4
+	</varlistentry>
Adam Tkac cd3db89
+      </variablelist>
Adam Tkac cd3db89
+    </para>
3fed71e
+  </refsection>
Adam Tkac cd3db89
+
3fed71e
   <refsection><info><title>FILES</title></info>
3fed71e
 
Adam Tkac cd3db89
     <para><filename>/etc/resolv.conf</filename>
08a89f4
-- 
08a89f4
2.26.2
08a89f4