7c7ec8
From a76716d5d039947d6fe2cd49a151b16a29e12d42 Mon Sep 17 00:00:00 2001
7c7ec8
From: Petr Mensik <pemensik@redhat.com>
7c7ec8
Date: Mon, 4 Jan 2021 12:55:49 +0100
7c7ec8
Subject: [PATCH] .rh640538
7c7ec8
---
7c7ec8
 bin/dig/dig.docbook | 43 +++++++++++++++++++++++++++++++++++++++++++
7c7ec8
 1 file changed, 43 insertions(+)
7c7ec8
Tomas Hozza 3fed71
diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook
7c7ec8
index 8ccf207..6d16d37 100644
Tomas Hozza 3fed71
--- a/bin/dig/dig.docbook
Tomas Hozza 3fed71
+++ b/bin/dig/dig.docbook
7c7ec8
@@ -1336,6 +1336,49 @@ 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>
7c7ec8
+
Adam Tkac cd3db8
+    <para>
Adam Tkac cd3db8
+      <command>Dig</command> return codes are:
7c7ec8
+
Adam Tkac cd3db8
+      <variablelist>
7c7ec8
+	<varlistentry>
7c7ec8
+	  <term>0</term>
7c7ec8
+	  <listitem>
7c7ec8
+	    <para>Everything went well, including things like NXDOMAIN.</para>
7c7ec8
+	  </listitem>
7c7ec8
+	</varlistentry>
7c7ec8
+	<varlistentry>
7c7ec8
+	  <term>1</term>
7c7ec8
+	  <listitem>
7c7ec8
+	    <para>Usage error.</para>
7c7ec8
+	  </listitem>
7c7ec8
+	</varlistentry>
7c7ec8
+
7c7ec8
+	<varlistentry>
7c7ec8
+	  <term>8</term>
7c7ec8
+	  <listitem>
7c7ec8
+	    <para>Could not open batch file.</para>
7c7ec8
+	  </listitem>
7c7ec8
+	</varlistentry>
7c7ec8
+	<varlistentry>
7c7ec8
+	  <term>9</term>
7c7ec8
+	  <listitem>
7c7ec8
+	    <para>No reply from server.
7c7ec8
+	    </para>
7c7ec8
+	  </listitem>
7c7ec8
+	</varlistentry>
7c7ec8
+	<varlistentry>
7c7ec8
+	  <term>10</term>
7c7ec8
+	  <listitem>
7c7ec8
+	    <para>Internal error.
7c7ec8
+	    </para>
7c7ec8
+	  </listitem>
7c7ec8
+	</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>
7c7ec8
-- 
7c7ec8
2.26.2
7c7ec8