From 7ece6ee42f2cf89c27c0e2fa2c9c8c11e7a46096 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Tue, 3 Sep 2013 15:21:39 +0200 Subject: [PATCH] Document exit status values in drill --- drill/drill.1.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drill/drill.1.in b/drill/drill.1.in index 15b15a42..35f11c0f 100644 --- a/drill/drill.1.in +++ b/drill/drill.1.in @@ -217,6 +217,12 @@ specify named base64 tsig key, and optional an algorithm (defaults to hmac-md5.s \fB\-z \fR don't randomize the nameserver list before sending queries. +.SH "EXIT STATUS" +The exit status is 0 if the looked up answer is secure and trusted, +or insecure. +The exit status is not 0 if the looked up answer is untrusted or bogus, +or an error occerred while performing the lookup. + .SH "FILES" .TP @LDNS_TRUST_ANCHOR_FILE@ -- 2.47.3