This will become your DNS and will sinkhole any nefarious/ad requests on your network, so cell phones, tablets & computers will all be far less inconvenienced by ads and crap.
- Download the Raspbian Lite image. This goes on the 2GB SD card.
- Download Etcher. To burn the image onto the SD card.
- Download PuTTY. To connect to the Raspberry after the install.
At this point, Windows will freak out over the ext4 partition and say “do you want to format this drive?” – NO! Click cancel.
Once this is done, create a file called “ssh” in the root of the SD card (the partition Windows CAN access). It’s a simple text file without an extension, and it contains nothing. This tells the Raspberry to start the Secure SHell daemon automatically.
You’re off to the races. Stick the SD card in the RPi and plug in Ethernet and power and give it a minute to start up.
I simply looked at my network map to find the “raspberry pi” entry and associated IP address. With that, I can open PuTTY and connect in to it.
The default login and password at this time (2019-03) is;
Run sudo raspi-config to change the password and hostname, and update the software if you feel like it.
You’ll end up selecting a few options like IPV4/6, IP/mask, the upstream DNS provider etc. You’ll have to decide if you want it to be your DHCP server (I’d recommend it as it’ll tell you which device in your house is making the requests, otherwise all requests come from your router if that’s still the DHCP server), and you want the web server and interface installed and enabled.
Once you’re done with all the settings, you might want to change or remove the web interface password
pihole -a -p, and then reboot the RPI with
Now all you have to do is change your router’s DNS to point to the RPI and you’re done!
To look at the stats on the web interface, go to
http://192.168.1.10/admin (or whatever the IP of the RPI is).