cloudflare / odoh-client-go

Oblivious DoH client
MIT License
80 stars 19 forks source link

Change the default PROXY_HTTP_MODE to https #5

Closed ferozsalam closed 3 years ago

ferozsalam commented 3 years ago

As per the protocol diagram on https://blog.cloudflare.com/oblivious-dns/, the communication from the client to the proxy is encrypted using HTTPS. When I was adding ODoH proxying support to my DoH service, I attempted to test the connection and did not expect the default to be set to HTTP. I think it would be more intuitive for the default to be HTTPS, as that is the mode indicated in the diagram, and hopefully the mode which most people will be using proxies.