curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

CURLOPT_DNS_SHUFFLE_ADDRESSES and CURLOPT_CONNECT_TO

From: Vladimir Levijev via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 24 Sep 2026 01:52:05 +0300

Hi,

We noticed this strange thing when using CURLOPT_DNS_SHUFFLE_ADDRESSES together with CURLOPT_CONNECT_TO curl fails with "Couldn't resolve host name”. Now, the reason we want to turn on “shuffling” is for the redirects. So we say, connect to this specific IP address, but in case of redirection, when resolving the hostname of the next target, use shuffling. Is it even possible?

Cheers,

VL
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-09-24