Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4804

General discussion • Re: Since Raspi OS Bookworm (Pi 5) doesn't use systemd.resolved, what does it use instead?

$
0
0
Out of my area of expertise, but reading the systemd-resolved man page (may not be the latest, but close enough) says that local apps get name resolution requests one of 3 ways:
  • systemd-resolved via D-Bus OR a Linux socket (Ways 1 and 2)
  • glibc getaddrinfo API** (Way 3)
Since no systemd-resolved on RasPiOS, a good guess would be that it's glibc getaddrinfo

**Entire text: The glibc getaddrinfo(3) API as defined by RFC3493[1] and its
related resolver functions, including gethostbyname(3). This
API is widely supported, including beyond the Linux platform.
In its current form it does not expose DNSSEC validation
status information however, and is synchronous only. This API
is backed by the glibc Name Service Switch (nss(5)). Usage of
the glibc NSS module nss-resolve(8) is required in order to
allow glibc's NSS resolver functions to resolve hostnames via
systemd-resolved.

Statistics: Posted by bls — Thu Oct 17, 2024 3:06 am



Viewing all articles
Browse latest Browse all 4804

Trending Articles