Closed FireMasterK closed 1 year ago
socks5://
protocol in curl resolves hostnames locally, therefore it's a problem with your local setup (for example, you don't have IPv6 on your machine and the local resolver ignores IPv6 answers from the DNS.
Try using hte socks5h://
protocol instead. (see man curl
)
That seems to be it, thanks!
With a configuration having:
When I run
curl --proxy socks5://127.0.0.1:1080 icanhazip.com
I get an ipv4 address, although that hostname is dual stack. I would expect to see an ipv6 address here. When I runcurl --proxy socks5://127.0.0.1:1080 ipv6.icanhazip.com
I see an ipv6 address.