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