AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.37k stars 246 forks source link

Add a command-line switch to enable DoH without HTTPS #146

Open hukaixuan opened 3 years ago

hukaixuan commented 3 years ago

We want to set a load balance and put the dnsproxy behead it, only put the HTTPS certificate on load balance. Found that we can't start dnsproxy with no TLS config: image any plan to support this scenario?

ameshkov commented 3 years ago

Internally, it is supported. We probably should add a command-line switch to allow it.

ameshkov commented 3 years ago

Ah, I was too fast with the response. It's supported in AGH since it implements an HTTP layer by itself. Not in dnsproxy. We'll keep this usecase in mind when we'll be refactoring the "server" part of dnsproxy.

gdm85 commented 1 year ago

I opened #302 to address this, please review and suggest improvements. Thanks!