Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
diff --git a/dohproxy/ b/dohproxy/
index 66d1feb..750618c 100755
--- a/dohproxy/
+++ b/dohproxy/
@@ -65,6 +65,8 @@ class DOHApplication(aiohttp.web.Application):
async def resolve(self, request, dnsq):
qid =
+ # Force RD bit
+ dnsq.flags |= dns.flags.RD
queue = asyncio.Queue(maxsize=1)
await self.loop.create_datagram_endpoint(
lambda: DNSClientProtocol(dnsq, queue, logger=self.logger),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment