]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Print error if trust anchor refresh failed
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 16 Jan 2017 15:51:31 +0000 (16:51 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Mon, 16 Jan 2017 15:52:09 +0000 (16:52 +0100)
daemon/lua/trust_anchors.lua

index 533370107abea00b13228f68ca3a3b30cde0600b..52eb0d546f2b2b651547fb05ae7e9b48baf4a305 100644 (file)
@@ -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