From my brief searches thus far, there really isn't a way to make a Windows/*nix DNS server leverage it's local hosts file when resolving queries. If you have a DNS server, just add those entries as A ...
Hosted on MSN
How to Edit the hosts File on Windows 10 or 11
The hosts file is the first place Windows checks for IP addresses when connecting to websites and can be manually edited to block access to specific websites. The hosts file is located in ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results