Blob Blame History Raw
From 8b0a284d551d24ec2323713a5641b783b6e1baaa Mon Sep 17 00:00:00 2001
From: Petr Mensik <pemensik@redhat.com>
Date: Fri, 19 Jun 2020 18:48:23 +0200
Subject: [PATCH] .rh640538

---
 bin/dig/dig.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/bin/dig/dig.rst b/bin/dig/dig.rst
index 3c899ce..46c9885 100644
--- a/bin/dig/dig.rst
+++ b/bin/dig/dig.rst
@@ -616,6 +616,26 @@ like to turn off the IDN support for some reason, use parameters
 ``+noidnin`` and ``+noidnout`` or define the IDN_DISABLE environment
 variable.
 
+Return Codes
+~~~~~~~~~~~~
+
+``dig`` return codes are:
+
+``0``
+   Response received, including NXDOMAIN status
+
+``1``
+   Usage error
+
+``8``
+   Couldn't open batch file
+
+``9``
+   No reply from server
+
+``10``
+   Internal error
+
 Files
 ~~~~~
 
-- 
2.26.2