-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教下如何自定义DOH(https_dns_proxy)? #75
Comments
https_dns_proxy itself doesn’t have a direct --proxy command-line option, but it does honor standard proxy environment variables such as HTTPS_PROXY, http_proxy, or ALL_PROXY. That means you can “chain” DNS-over-HTTPS queries through another proxy (e.g., Shadowsocks, SOCKS, HTTP proxy, etc.) by setting the appropriate environment variable before invoking https_dns_proxy. If you want to make it part of your shell script (i.e., only set the variable if https://cloudflare-dns.com is blocked in your region), you could do something like: Example: Using a SOCKS5 proxy on 127.0.0.1:23456
This way, the DNS queries always go through your proxy if direct access to cloudflare-dns.com is blocked. |
Or you can change the DOH like this, still in file ssconfig.sh,
Popular DoH Endpoints
Anyway, ChatGPT can teach you a lot if you are interested in this. For me, I just use ChinaDNS-ng. |
Thank you very much. I will try following what the author said. According to the second comment by the author which is easily understand, i found file"ssconfig.sh" in the folder "/jffs/.koolshare/ss". Then I used the "vi" command to repalce the cloudflare DOH. Now I am still in testing new DOH. |
请教下作者在[DNS设定]->[选择外国DNS]中,选择[https_dns_proxy],默认使用Cloudflare的DOH,Cloudflare的DOH目前都已经屏蔽无法使用,如何自定义DOH。
The text was updated successfully, but these errors were encountered: