kresd 1.5.0 assertion failure
I'm running the server in a test environment in which it's getting a constant stream of random queries. This is the configuration (sans network interfaces):
-- Modules
modules = {
'policy', -- Enforce query/response policies
'view', -- Views for certain clients
'hints > iterate', -- Load /etc/hosts and allow custom root hints
'stats', -- Track internal statistics
'predict', -- Prefetch soon-to-expire records
}
-- Cache configuration
cache.open(4096 * MB, env.CACHE_STORAGE)
cache.max_ttl(1 * 3600) -- 1 hour
cache.min_ttl(5) -- 5 seconds
-- DNSSEC configuration
trust_anchors.file = 'root.keys' -- Enable RFC5011
The log:
2017-11-22T04:33:19.000 host1 error: /usr/local/lib/kdns_modules/predict.lua:34: 'struct rr_type' has no member named 'TYPE65535'
2017-11-22T23:38:20.000 host1 kresd: daemon/io.c:51: session_clear: Assertion `s->outgoing || s->tasks.len == 0' failed.