Hello,
After the latest update it looks like my custom kresd script is no longer executed or fails silently because of errors. “hal2100.one” is no longer resolved by my TO. It was resolved yesterday, before I restarted my TO.
I have this in my /etc/kresd/custom.conf:
local function genRR (state, req)
local answer = req.answer
local qry = req:current()
if qry.stype ~= kres.type.A then
return state
end
ffi.C.kr_pkt_make_auth_header(answer)
answer:rcode(kres.rcode.NOERROR)
answer:begin(kres.section.ANSWER)
answer:put(qry.sname, 900, answer:qclass(), kres.type.A, '\192\168\1\108')
return kres.DONE
end
local internal_server = policy.add(policy.suffix(genRR, { todname('hal2100.one.') }
custom.conf is mentioned also in my /etc/config/resolver
So:
- What changed during the update
- How can I debug this?
- How can it be fixed?