Anatomy of a Linux DNS Lookup
This predates systemd's decision to get involved via systemd-resolved.  So now it's got another step :)<p>Edit: Well, and also browsers doing DNS over https. It's pretty confusing these days to know which path your app took to resolve a name.