contrib/kresd: log SERVFAILs by default

parent f2eaf2a7
Pipeline #76826 passed with stage
in 1 minute and 15 seconds
......@@ -19,6 +19,16 @@ net.tcp_pipeline(65535)
local _, up_bs = net.bufsize()
net.bufsize(4096, up_bs)
{% if verbose %}
verbose(true)
{% else %}
verbose(false)
policy.add(policy.all(policy.DEBUG_IF(
function (req)
return req.answer:rcode() == kres.rcode.SERVFAIL
end)))
{% endif %}
{% if forward %}
-- forwarding
policy.add(policy.all(
......@@ -36,8 +46,6 @@ policy.add(policy.all(
-- records will be paged out
cache.size = 1000 * MB
verbose({{ 'true' if verbose else 'false' }})
-- Load Useful modules
modules = {
'workarounds < iterate',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment