Control: tags -1 + confirmed Control: severity -1 wishlist Hi,
On Mon, Nov 17, 2025 at 01:35:15PM +0100, Alessandro Vesely wrote: > > Dear Maintainer, > > I tried option --dns-ipv4-addr and obtained the following results: > > 511-north:~$ curl --dns-ipv4-addr 127.0.0.1 http://example.com/ > curl: option --dns-ipv4-addr: the installed libcurl version does not support > this > curl: try 'curl --help' or 'curl --manual' for more information > > 512-north:~$ curl --manual|grep dns-ipv4-addr > See also --dns-ipv4-addr and --dns-ipv6-addr. > --dns-ipv4-addr <address> > should be a single IPv4 address. If --dns-ipv4-addr is provided > curl --dns-ipv4-addr 10.1.2.3 https://example.com > --dns-ipv4-addr requires that libcurl is built to support c-ares. > See also --dns-interface and --dns-ipv4-addr. > See also --dns-interface and --dns-ipv4-addr. > > (I was actually looking for --interface, which works, but tried this option, > which is listed before the latter, by mistake. So I tagged the bug as > "minor".) Ack, maybe wishlist would be better though? Indeed we do not build with c-ares, there was some back and forth enabling this around 2010 but it was ultimately disabled for stability reasons (no longer explanation in the changelog). Well, this is the first time we hear about it in 15 years, so maybe it's not a popular option? Anyway, to enable it, at least some research and testing is required, I'm not sure I'll be able to look at it any time soon. But if you or someone else feels like doing it, please do and send a report/patch/MR :-) Cheers, Charles PS: actually there is a wishlist bug for enabling c-ares (#820775), but there seems to be a blocker due to lack of c-ares support to glibc's NSS module system.

