SmartProxy icon indicating copy to clipboard operation
SmartProxy copied to clipboard

Add `DNS over HTTPS` option to proxy servers

Open kai3341 opened this issue 4 years ago • 6 comments

I'm trying to integrate SmartProxy addon and i2p daemon. All works perfectly, but I have to use SOCKS5 only proxies to resolve names. When I use SOCKS4 + DoH, an error happens when DoH trying to resolve *.i2p domain.

I think it will be OK solution to add setting DNS-over-HTTPS behavior with variants ["Default", "Off", "On"].

Default should not change anything Off should enforce browser NOT to use DoH On should enforce browser to use DoH

Optionally when DNS-over-HTTPS behavior is On, DoH-resolver may be configured explicitly

kai3341 avatar Jan 27 '21 01:01 kai3341

This is a limitation from Extensions Api provided by the browsers. Look for proxyDNS in https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/proxy/ProxyInfo

salarcode avatar Jan 27 '21 06:01 salarcode

@salarcode I found another way: https://support.mozilla.org/en-US/kb/firefox-dns-over-https#w_excluding-specific-domains

kai3341 avatar Feb 18 '21 12:02 kai3341

The thing is that Extensions don't have access to those settings.

salarcode avatar Feb 18 '21 12:02 salarcode

Found another link: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns/resolve

kai3341 avatar Feb 21 '21 04:02 kai3341

dns.resolve() is just a API that is available for extensions. The browser will still resolve the DNS by its own.

salarcode avatar Feb 26 '21 10:02 salarcode

Waiting for the feature: https://bugzilla.mozilla.org/show_bug.cgi?id=1455425

salarcode avatar Apr 11 '21 23:04 salarcode