static-curl
static-curl copied to clipboard
curl 8.7.1: --dns-ipv6-addr and --dns-ipv4-addr options
Hi
Using curl 7.76.1 from Alma Linux 9.4 I'm able to set the IPv4 and IPv6 DNS, but with curl 8.7.1 from this repo, it shows the following results:
curl --dns-ipv4-addr 1.1.1.1 --dns-ipv6-addr 2606:4700:4700::1111 --compressed -k -m 10 -X GET https://example.com
curl: (6) Could not resolve host: example.com
Thanks