Skip to the schedule

I Gave Pi-hole an AI Brain (And Now It Learns From My Decisions)

YouTube embed

Loads the player from YouTube, which can set cookies and see your IP address. Nothing is requested until you press it.

๐Ÿ›‘ Stop Guessing. Start Classifying. Are you tired of blindly adding massive blocklists to your Pi-hole and hoping they donโ€™t break your favorite services? Most DNS blocking is a โ€œblack boxโ€โ€”you either block everything or nothing.

Enter Donut-Hole.

Donut-Hole is an AI-powered sidecar that gives your Pi-hole a brain. It doesnโ€™t replace your setup; it enhances it. By pulling your DNS logs and classifying every domain using a Local LLM (via Ollama), Donut-Hole lets you audit your network traffic with total clarity.

๐Ÿš€ Key Features:

  • AI Classification: No more โ€œwhat is this cryptic URL?โ€ Donut-Hole explains what domains actually do.
  • The โ€œSidecarโ€ Approach: Keep your Pi-hole exactly as it is. Donut-Hole works alongside it to generate custom blocklists.
  • Vector Memory: Using vector embeddings, the system learns from your previous decisions. The more you use it, the smarter it gets.
  • Review UI: A clean interface to audit traffic and export a hosts-format blocklist back to Pi-hole.

๐Ÿ› ๏ธ Project Resources: ๐Ÿ‘‰ GitHub Repository: https://github.com/santhoshjanan/donut-hole/

๐Ÿ“š Prerequisites & Tutorials: If you are starting from zero, check out these excellent setup guides:

Pi-hole Setup (Full Walkthrough): https://www.youtube.com/watch?v=Z_sVjxu9LjE

Ollama Setup (Local AI Engine): https://www.youtube.com/watch?v=N4haIG4kWN8

โฑ๏ธ Timestamps: 0:00 The premise 2:17 What is Pi-Hole? 6:45 What is Donut-Hole? Introduction 7:50 How Donut-Hole works? 10:33 Basic architecture 13:28 Demo 18:00 Linking Donut-Hole to Pi-Hole 23:53 How you can set this up? Github Repo 25:15 Wrap-up

#PiHole #SelfHosted #HomeLab #Ollama #LocalLLM #NetworkSecurity #Privacy #DonutHole

Open on YouTube

Runtime 26 minutes 25 seconds