I was trying to optimize my home network and determined using a local DNS server significantly improved our internet experience. I did the testing with my home server, but it’s a beast (six cores, 32GB RAM, and 4-6TB storage). Since I have a spare Raspberry Pi B+, I figured I would use it.
Researching further, I found the Pi-Hole Project (http://pi-hole.net/). Not only does it provide a local DNS server, but it integrates ad filtering! It works quite well, and didn’t take any technical skills to provision.
- Install Raspbian build on Raspberry Pi – reference link below
- Run this command from the shell (command line): curl -L install.pi-hole.net | bash
- Configure your computers/devices to use the Pi as their DNS server – I configured my wireless gateway to point to the Raspberry Pi so all my systems automatically use it.
NOTE – setup your gateway to use an external DNS as a secondary to avoid issues
Raspbian image downloads