diff --git a/src/index.ts b/src/index.ts index e0ffab8..798d202 100644 --- a/src/index.ts +++ b/src/index.ts @@ -225,8 +225,12 @@ async function handleDnsQuery(aq: ActiveQuery) { const msg = new wire.Message(); const q = new wire.Question(aq.callerInput.fqdn, aq.callerInput.type); + msg.question.push(q); + msg.rd = true; + msg.ad = true; + const ret = await node.rs.answer(msg); if (!ret.ad) {