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 <curl-library_at_lists.haxx.se>
Date: Sat, 25 Nov 2023 10:07:20 -0300

On Sat, Nov 25, 2023 at 9:56 AM Max Kellermann <max.kellermann_at_ionos.com>
wrote:

> On Sat, Nov 25, 2023 at 1:32 PM Cristian Rodríguez
> <cristian_at_rodriguez.im> 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. 127.0.0.53:53

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


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-11-25