From: Petr Špaček Date: Mon, 16 Jan 2017 15:51:31 +0000 (+0100) Subject: Print error if trust anchor refresh failed X-Git-Tag: v1.2.0-rc1~13^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0faccde5482aa7e88b3710164ecd6ddfe9dd04c4;p=thirdparty%2Fknot-resolver.git Print error if trust anchor refresh failed --- diff --git a/daemon/lua/trust_anchors.lua b/daemon/lua/trust_anchors.lua index 533370107..52eb0d546 100644 --- a/daemon/lua/trust_anchors.lua +++ b/daemon/lua/trust_anchors.lua @@ -188,6 +188,8 @@ local function active_refresh(trust_anchors, pkt, bootstrap) end trust_anchors.update(keyset, bootstrap) retry = false + else + print('[ ta ] active refresh failed, rcode: '..pkt:rcode()) end -- Calculate refresh/retry timer (RFC 5011, 2.3) local min_ttl = retry and day or 15 * day