1 - Install dnsmasq
sudo pacman -Syu
sudo pacman -S dnsmasq
2 - Configure dnsmasq to resolve .test domains to localhost via creating /etc/NetworkManager/dnsmasq.d/prax:
| require "benchmark" | |
| channel = Channel(Int32).new | |
| spawn do | |
| loop do | |
| channel.receive | |
| end | |
| end |