changeset 11306 | 6bb2986783d0 |
parent 11257 | 919e7b962f0b |
child 12114 | b5b799a2a10c |
--- a/net/unbound.lua Thu Jan 21 19:23:15 2021 +0100 +++ b/net/unbound.lua Thu Jan 21 23:33:59 2021 +0100 @@ -139,6 +139,7 @@ end local function lookup_sync(qname, qtype, qclass) + if not unbound then initialize(); end qtype = qtype and s_upper(qtype) or "A"; qclass = qclass and s_upper(qclass) or "IN"; local ntype, nclass = types[qtype], classes[qclass];