↑ Return to Raspberry Pi


Run this command:
curl -L install.pi-hole.net | bash

Setup router to point to Pi-Hole for DNS

Edit the /etc/hosts file to add all computers to it for convenience

Setup DNSCrypt
instructions here

Use Pihole to resolve DNS

dnsmasq will read any file in dnsmasq.d as a configuration file; this is how Pi-hole works too. The file (02-mydns.conf) you’ve added tells dnsmasq where to find another hosts file (hosts.mydomain). This will survive installs and updates by the Pi-Hole curl script. Anytime you update your hosts.mydomain file you will need to restart dnsmasq for …

View page »