Required dependencies:
- dnsmasq
- Ubuntu:
sudo apt install dnsmasq
- macOS:
brew install dnsmasq
- Ubuntu:
- Rust (and Cargo)
Add the following to your dnsmasq.conf
:
address=/.idk/127.0.0.1
echo "address=/.idk/127.0.0.1" >> "$(brew --prefix)/etc/dnsmasq.conf"
sudo brew services start dnsmasq
sudo mkdir -p /etc/resolver
sudo tee -a /etc/resolver/idk > /dev/null << EOF
nameserver 127.0.0.1
EOF
cargo install --path .
sudo dns-over-wikipedia