Getting rid of ads with Pi-hole

I’ve been using Pi-hole running on a Raspberry Pi 3B+ for the past 2 1/2 years, and it has really spoilt me to the extent that I have forgotten what ads on web pages and mobile apps look like (the limited travel in the last couple of years has also helped). It’s pretty effective in getting rid of the pop-up mobile ads and the in page banner ads on all devices connected to the wifi.

The setup process is quite simple if you have your own router or at least change the DNS server on the home router:

  • First off, get hold of a Raspberry Pi (even the model Zero is powerful enough for the Pi-hole), and the necessary peripherals like a case, SD card, charger & LAN cable. There are many readymade kits with the OS preinstalled sold online including Amazon, which saves a good deal of time.
  • Initial setup is easier with a monitor & keyboard + mouse attached to the Pi. Once this is done you can connect it to your router using a LAN cable and access it through a Telnet client/mobile app like Putty on any of your devices in the home network.
  • Next, you need to install Pi-hole on the Pi (you can do it during the setup itself), and configure the router to use the Pi as your DNS server. If you are stuck without admin access to your router, then you may need to configure each device to use the Pi separately.
  • You can also install mobile apps to manage the Raspberry & Pi-hole quite easily through your phone. There are multiple apps available for both Android & iOS.

Once everything is setup, you should have an ad free experience on your devices (not all ads can be blocked of course). I’ve found about 10-15% of the queries on my home network getting blocked, and this includes devices like Android & iPhones, iPads, Android TV, Amazon Echo, Homepods & Windows laptops of course.