curl / Mailing Lists / curl-library / 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: Resolve.conf questions

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 14 Jan 2020 16:24:26 +0100

On Tue, Jan 14, 2020 at 03:45:18PM +0100, Mirko Raca via curl-library wrote:
> conf changes. Is there a way to "refresh" just the DNS settings (force
> resolve.conf re-read somehow?) without re-creating the easy_handles?

On many systems calling res_init() will do it. See also
https://curl.haxx.se/docs/todo.html#updated_DNS_server_while_running
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-01-14