From: Willem Toorop Date: Tue, 3 Sep 2013 13:21:39 +0000 (+0200) Subject: Document exit status values in drill X-Git-Tag: release-1.6.17rc1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ece6ee42f2cf89c27c0e2fa2c9c8c11e7a46096;p=thirdparty%2Fldns.git Document exit status values in drill --- 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@