ctxis / SnitchDNS

Database Driven DNS Server with a Web UI

Home Page:https://www.contextis.com/en/resources/tools/snitchdns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNS over HTTPS

sadreck opened this issue · comments

Not sure if this is actually needed, but it'd be a good feature to add.

commented

Definitely would be great for showing DNS tunneling over DNS over HTTPS

This can be achieved even easier by allowing custom ports in the DNS forwarding section.
image
Eg. I could just forward to my local cloudflared instance on port 5053 which does the DOH.

I don't believe that can be done because the Python library I'm using (Twisted Matrix) doesn't support DNS over HTTPS and will assume that it's forwarding the query to a standard DNS server.

Unless you mean that the service running on the target port does the conversion from DNS to DoH?

Unless you mean that the service running on the target port does the conversion from DNS to DoH?

That is exactly what I mean. Twisted should just be able to forward a plain DNS request to a specified IP:PORT mapping, instead of just an IP mapping.

This is the image I wanted to paste in my upper comment:
image

I've implemented support for IP:Port, but I'll keep this ticket open for when I have time to implement actual DoH