curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: The dns server selection method when socks5h protocol and --dns-servers are used at the same time.

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Sat, 28 Aug 2021 03:10:37 -0400

On 8/28/2021 2:14 AM, Hongyi Zhao via curl-users wrote:
> When socks5h protocol and --dns-servers are used at the same time,
> which DNS server will be used?

The hostname is passed to the proxy to resolve, so the DNS servers
should not be used. If you are seeing a different behavior please open
an issue [1].

[1]: https://github.com/curl/curl/issues/new/choose

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-08-28