76074c
From d3c58d860737f0f70eff05edad77e0b2a90d4cb9 Mon Sep 17 00:00:00 2001
9a4be7
From: Petr Mensik <pemensik@redhat.com>
9a4be7
Date: Fri, 19 Jun 2020 18:48:23 +0200
9a4be7
Subject: [PATCH] .rh640538
9a4be7
9a4be7
---
9a4be7
 bin/dig/dig.rst | 20 ++++++++++++++++++++
9a4be7
 1 file changed, 20 insertions(+)
9a4be7
b8ccda
diff --git a/bin/dig/dig.rst b/bin/dig/dig.rst
76074c
index bef52ba..9f16607 100644
b8ccda
--- a/bin/dig/dig.rst
b8ccda
+++ b/bin/dig/dig.rst
76074c
@@ -615,6 +615,26 @@ To turn off IDN support, use the parameters
76074c
 ``+noidnin`` and ``+noidnout``, or define the ``IDN_DISABLE`` environment
b8ccda
 variable.
Adam Tkac cd3db8
 
9a4be7
+Return Codes
b8ccda
+~~~~~~~~~~~~
Adam Tkac cd3db8
+
b8ccda
+``dig`` return codes are:
b8ccda
+
9a4be7
+``0``
9a4be7
+   Response received, including NXDOMAIN status
9a4be7
+
9a4be7
+``1``
9a4be7
+   Usage error
9a4be7
+
9a4be7
+``8``
9a4be7
+   Couldn't open batch file
9a4be7
+
9a4be7
+``9``
9a4be7
+   No reply from server
9a4be7
+
9a4be7
+``10``
9a4be7
+   Internal error
b8ccda
+
b8ccda
 Files
b8ccda
 ~~~~~
Tomas Hozza 3fed71
 
9a4be7
-- 
9a4be7
2.26.2
9a4be7