9a4be7
From 8b0a284d551d24ec2323713a5641b783b6e1baaa 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
9a4be7
index 3c899ce..46c9885 100644
b8ccda
--- a/bin/dig/dig.rst
b8ccda
+++ b/bin/dig/dig.rst
9a4be7
@@ -616,6 +616,26 @@ like to turn off the IDN support for some reason, use parameters
b8ccda
 ``+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