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: systemd-resolved support

From: Cristian Rodríguez via curl-library <>
Date: Sat, 25 Nov 2023 10:07:20 -0300

On Sat, Nov 25, 2023 at 9:56 AM Max Kellermann <>

> On Sat, Nov 25, 2023 at 1:32 PM Cristian Rodríguez
> <> wrote:
> > resolved is designed to be spoken to as a normal dns caching resolver or
> using dbus.
> > I don't believe adding a dbus communication backend will improve your
> situation.
> I think you are not aware that libcurl already sends all its DNS
> queries to resolved (via nss_resolve), so my idea doesn't add anything
> that isn't already there, it just avoids the NSS API.
> (And no, you don't need DBus.)
> HUh.. no this is not recommended.. do not talk to resolved via the nss
plugins. tell curl or your OS about the stub resolver.

What distribution is defaulting to nss-resolve might I ask ?

Received on 2023-11-25