enable --dns-servers

Task Info (Flyspray)
Opened By Brian Mayer (brain)
Task ID 74576
Type Bug Report
Project Arch Linux
Category Packages: Extra
Version None
OS x86_64
Opened 2022-04-28 04:49:24 UTC
Status Assigned
Assignee Christian Hesse (eworm)
Assignee Leonidas Spyropoulos (inglor)

Details

Description:

Using the flag --dns-servers does not work.

Additional info:

curl -V output: curl 7.82.0 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1n zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0 Release-Date: 2022-03-05 Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd

Steps to reproduce:

Run this on a terminal: curl --dns-servers 1.1.1.1 https://www.example.com

Output: curl: option --dns-servers: the installed libcurl version doesn't support this curl: try 'curl --help' for more information