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: Hongyi Zhao via curl-users <curl-users_at_cool.haxx.se>
Date: Sat, 28 Aug 2021 21:10:56 +0800

On Sat, Aug 28, 2021 at 3:17 PM Ray Satiro via curl-users
<curl-users_at_cool.haxx.se> wrote:
>
> 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.

Just out of my curiosity. Thank you for your explanation.

>If you are seeing a different behavior please open
> an issue [1].

If I observe any different behavior in the future, I will do so.

> [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

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