Resolve any `*.test` domain to `localhost`
Linux
This setup uses dnsmasq to handle *.test domain resolution, with systemd-resolved forwarding those queries to dnsmasq.
# Install dnsmasq
sudo apt update
sudo apt install dnsmasq
# Configure dnsmasq to listen on 127.0.0.2 and resolve *.test to ...
osmianski.com2 min read