daemon/bindings: worker.resolve() can now call callback on completion
example: worker.resolve('cz', kres.type.NS, kres.class.IN, 0, function (pkt) local answer = kres.pkt_t(pkt) print (answer:rcode()) end)
Please register or sign in to comment
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
example: worker.resolve('cz', kres.type.NS, kres.class.IN, 0, function (pkt) local answer = kres.pkt_t(pkt) print (answer:rcode()) end)