Skip to content
Menu
Marius Serbanica – Tech Blog
  • My Tech Blog
  • About me
  • Contact Me
  • Curriculum Vitae
  • Projects
  • Current Projects List
  • Certifications
  • Home Lab
  • Self-Hosted
  • Linux Cheat Sheet
  • Linux Commands
  • Privacy Policy
  • Site Map
Marius Serbanica – Tech Blog

Using a Raspberry PI as a Local DNS server & an Ad-Blocker

Project Description:

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.

Project Info:
Technologies: Raspberry PI, Pi Hole, Pi OS.
Status: Completed
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/

Join my LinkedIn Network.

Recent Posts

  • Kubernetes cluster. Why and how
  • Installing GNU-World on ircu2
  • Replacing Cloudflare Tunnel with Tailscale on a VPS
  • KASM – My main workspace RBI
  • Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense

Archives

  • February 2025
  • January 2025
  • October 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023

Categories

  • How-To
  • Tech Industry
  • Tech, but personal
  • Tutorials

Recent Comments

  1. IRC Lamer on Installing GNU-World on ircu2
  2. severus2231 on Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense
  3. admin on Mounting a NAS (Network Attached Storage) device on Linux
  4. abL on Mounting a NAS (Network Attached Storage) device on Linux
  5. Alin R on Cleaning up your Linux OS.
Social Media
Find me on social media
Facebook Twitter Instagram LinkedIn

©2025 Marius Serbanica – Tech Blog