Is socks5h supported? #441
-
| Hi. Is socks5h(remote DNS resolution) supported? I see that there are commits about DNS relay, but README only mentions socks5. | 
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
| It depends on your client's configuration. All socks5 proxies supports remote domain name resolution. | 
Beta Was this translation helpful? Give feedback.
-
| Some applications don't recognize  In practice, you can set it this way: 
 Most applications (Git LFS, cURL, etc) will use the HTTP proxy and work correctly. Applications that support  | 
Beta Was this translation helpful? Give feedback.
-
| I see. Thanks for the answers guys. p.s. It seems Ubuntu network settings gui doesn't support specifying scheme. I set   | 
Beta Was this translation helpful? Give feedback.
Some applications don't recognize
socks5hand simply treat it as an HTTP proxy, which can cause issues. For example, if you only setALL_PROXY=socks5h://localhost:1080/, Git LFS will treat it as an HTTP proxy. But if you only setALL_PROXY=socks://localhost:1080/, cURL will use your local resolver, which may not be desirable in your network environment.In practice, you can set it this way:
ALL_PROXY=socks://localhost:1080/HTTP_PROXY=http://localhost:8080/HTTPS_PROXY=http://localhost:8080/Most applications (Git LFS, cURL, etc) will use the HTTP proxy and work correctly. Applications that support
ALL_PROXYwill recognizesocksand most likely send requests directly without your local …