2 ms·
> It uses nsswitch to basically take over gethostbyname() and getaddrinfo(). This means any software using a DNS library like ldns, unbound, bind, knot, etc
by JdeBP 10y ago
> It uses nsswitch to basically take over gethostbyname() and getaddrinfo(). This means any software using a DNS library like ldns, unbound, bind, knot, etc bypasses this system and gets an inconsistent DNS view from the rest of the system. It explicitly does not support those kind of applications.
> It won't work well with applications that have their own DNS code inside. Such as browsers.
The systemd developers have addressed M. Wouters' charges as follows. Such applications are classed as
> legacy software which does not use libnss-resolve
-- https://github.com/systemd/systemd/issues/3420#issuecomment-223245328 https://github.com/systemd/systemd/issues/3420#issuecomment-...
and
> legacy DNS clients
-- https://github.com/systemd/systemd/issues/3420#issuecomment-223253526 https://github.com/systemd/systemd/issues/3420#issuecomment-...
The systemd developers maintain that
> programs really should use NSS (with nss-resolve as backend) or resolved's native bus APIs, but not talk DNS themselves.
-- https://github.com/systemd/systemd/issues/3420#issuecomment-223253526 https://github.com/systemd/systemd/issues/3420#issuecomment-...