You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl manpage states that --socks5 option resolves host names locally. I thought that "locally" meant "not by the proxy server itself". When it comes to --doh-url option, it's assumed that the name resolving is done by the DoH server that may be local as well.
The result of combining these options together is weird: curl attempts to use the default system resolver and doesn't connect to the DoH server. If the default system resolver is not working or returns spurious IP addresses, then there is no way to reach the host.
For SOCKS modes where a local host resolve is done.
It was previously disabled in 12d655d, but a few local tests seem to
indicate that it works fine.
Reported-by: roughtex on github
Fixes#10537
For SOCKS modes where a local host resolve is done.
It was previously disabled in 12d655d, but a few local tests seem to
indicate that it works fine. Works now because of the SOCKS refactor of
4a4b63d that made it non-blocking.
Reported-by: roughtex on github
Fixescurl#10537Closescurl#10540
curl manpage states that
--socks5
option resolves host names locally. I thought that "locally" meant "not by the proxy server itself". When it comes to--doh-url
option, it's assumed that the name resolving is done by the DoH server that may be local as well.The result of combining these options together is weird: curl attempts to use the default system resolver and doesn't connect to the DoH server. If the default system resolver is not working or returns spurious IP addresses, then there is no way to reach the host.
I did this
curl.exe --doh-url https://cloudflare-dns.com/dns-query --socks5 127.0.0.1:1080 https://example.com/
I expected the following
curl utilizes Cloudflare's DNS server to resolve
example.com
and connects to the host using the local SOCKS5 proxy.curl/libcurl version
curl 7.88.0
operating system
Windows
The text was updated successfully, but these errors were encountered: