From: Wouter Wijngaards Date: Fri, 15 Sep 2017 14:11:43 +0000 (+0000) Subject: - Fix unbound-host to report error for DNSSEC state of failed lookups. X-Git-Tag: release-1.6.7rc1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce1f757ce019cfb60f1b291906e5d4cb2b68cd35;p=thirdparty%2Funbound.git - Fix unbound-host to report error for DNSSEC state of failed lookups. git-svn-id: file:///svn/unbound/trunk@4343 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 39a3a2b7f..c8321588d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +15 September 2017: Wouter + - Fix unbound-host to report error for DNSSEC state of failed lookups. + 13 September 2017: Wouter - tag 1.6.6rc2 diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c index d7a36a231..93b5e4870 100644 --- a/smallapp/unbound-host.c +++ b/smallapp/unbound-host.c @@ -209,6 +209,7 @@ massage_class(const char* c) static const char* secure_str(struct ub_result* result) { + if(result->rcode != 0 && result->rcode != 3) return "(error)"; if(result->secure) return "(secure)"; if(result->bogus) return "(BOGUS (security failure))"; return "(insecure)";