Skip to content

Latest commit

 

History

History

hosts-file

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Required dependencies:

  • dnsmasq
    • Ubuntu: sudo apt install dnsmasq
    • macOS: brew install dnsmasq
  • Rust (and Cargo)

1. Configure dnsmasq

Linux:

Add the following to your dnsmasq.conf:

address=/.idk/127.0.0.1

macOS:

echo "address=/.idk/127.0.0.1" >> "$(brew --prefix)/etc/dnsmasq.conf"
sudo brew services start dnsmasq

2. Use dnsmasq to resolve queries

macOS:

sudo mkdir -p /etc/resolver
sudo tee -a /etc/resolver/idk > /dev/null << EOF
nameserver 127.0.0.1
EOF

3. Installing

cargo install --path .

4. Running

sudo dns-over-wikipedia