Otherwise plain `modules = { 'prefill' }` will error out,
which is surprising wrt. to style used/allowed by other modules.
- rebinding module: fix handling some requests, respect ALLOW_LOCAL flag
- fix incorrect SERVFAIL on cached bogus answer for +cd request (!860)
(regression since 4.1.0 release, in less common cases)
+- prefill module: allow a different module-loading style (#506)
Knot Resolver 4.2.0 (2019-08-05)
end
function prefill.config(config)
+ if config == nil then return end -- e.g. just modules = { 'prefill' }
local root_configured = false
- if not config or type(config) ~= 'table' then
+ if type(config) ~= 'table' then
error('[prefill] configuration must be in table '
.. '{owner name = {per-zone config}}')
end