Hello,

Running knot-resolver 5.6.0-1 amd64 (latest available via apt) on debian-12 bookworm, fully upgraded.

systemctl start kresd@1 fails to run.

systemctl status kresd@1 shows the following errors:

[system] error while loading config: ...b/x86_64-linux-gnu/knot-resolver/kres_modules/policy.lua:378: bad argument #1 to 'create' (table expected, got nil) (workdir '/var/lib/knot-resolver')


Here is my kresd.conf. It had been running ok for a long time ( I don't recall making any changes) :


- Default empty Knot DNS Resolver configuration in -*- lua -*-
-- Bind ports as privileged user (root) --
net = { '127.0.53.0' }
-- Switch to unprivileged user --
user('knot-resolver','knot-resolver')
-- Unprivileged
-- cache.size = 100*MB

policy.add(policy.suffix(policy.FLAGS({'NO_CACHE'}), internalDomains))
policy.add(policy.suffix(policy.STUB({'127.53.0.0'}), internalDomains))

policy.TLS_FORWARD({
   -- multiple servers can be specified for a single slice
   -- the one with lowest round-trip time will be used
   {'9.9.9.9', hostname='dns.quad9.net'},
   {'149.112.112.112', hostname='dns.quad9.net'},
})


All help is greatly appreciated,
Mike Wright
--

Reply via email to