The goal of this project was to use a Raspberry Pi version 1 to install and configure a local DNS server and use it as an AdBlocker. The Raspberry Pi was running on Pi OS, a lightweight operating system specifically designed for the Raspberry Pi.
The first step in this project was to install and configure a local DNS server on the Raspberry Pi. This was done by installing the DNS server software and configuring it to handle DNS requests for the local network. The Raspberry Pi was then set as the primary DNS server for all devices connected to the network, allowing for faster and more efficient DNS resolution.
To achieve the goal of using the Raspberry Pi as an Ad-Blocker, PI-hole software was installed. PI-hole is a network-wide ad blocking software that can run on a variety of platforms, including the Raspberry Pi. It blocks ads by redirecting requests for known ad-serving domains to a local web server that returns a blank page, effectively blocking the ads from appearing on the users’ devices.
The installation and configuration of PI-hole on the Raspberry Pi were done following the documentation provided by the software, which included a simple web interface that made it easy to configure and manage the ad-blocking rules.
Overall, this project allowed for the successful installation and configuration of a local DNS server and ad-blocker on a Raspberry Pi version 1 using Pi-hole software. The Raspberry Pi, with its low power consumption and small form factor, proved to be an ideal choice for this project, and it was able to handle the DNS and Ad-Blocking tasks efficiently.
Technologies: Raspberry PI, Pi Hole, Pi OS.
Start Date: 21st November 2022
End Date: 23rd November 2022
Blog Post: https://mariusserbanica.co.uk/2023/01/27/using-a-raspberry-pi-as-a-local-dns-server-an-ad-blocker/