💾 Archived View for midnight.pub › replies › 8673 captured on 2024-08-18 at 22:07:51. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I suddenly remembered about /etc/hosts, and thought putting entries in there might be the simplest solution...
This really depends on how your distro handles dns queries. The old standard way of using bootp and hosts are often the last options in how your host resolves dns queries. For example, in some systems the file /etc/nsswitch.conf is used to configure the order of dns query resolution, and on top of that, we have the /etc/resolv.conf that can be updated by a number of network utilities. For my own needs, I configured a local dns server which is always used by every client inside my own network, but sometimes not even that is enough.
Not sure about ChromeOS, but Chrome has historically had their own dns-over-https resolver, with their own dns servers configured, which caused a lot of confusion a couple of years ago, not sure if that is still true though.