News for hackers. Stuff that matters.
Re:There is no such thing as a “glibc based alpine image” by silon42 on Thursday August 26, 2021 @06:40AM (#28313054)
Typically, on a modern Linux system, DNS queries from libc (and everything else) will always query a local resolver (example: systemd-resolved).
Re:There is no such thing as a “glibc based alpine image” by Spivak on Thursday August 26, 2021 @11:02AM (#28315815)
That's up to your distro technically. DNS queries that use glibc (so everything basically) parse /etc/nsswitch.conf and follow the path of NSS modules which can do whatever they want to produce a name.

The resolve module provided by systemd talks to systemd-resolved but the dns module parses /etc/resolv.conf and does the resolution itself.