
Homelab Pihole Dns
Gives Claude everything it needs to set up and maintain Pi-hole as your home network's DNS server. Covers Docker and bare-metal installation, configuring your router to point all devices at it, managing blocklists, setting up DNS-over-HTTPS with cloudflared, and creating local DNS records so you can reach your homelab services by name. The troubleshooting section is solid for when devices lose internet after installation or when you accidentally block something legitimate. If you're running a homelab and tired of configuring ad blockers on every device, this walks through the whole stack including the DHCP integration decisions you'll actually face.
- skills.sh installs
- 5.4K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill homelab-pihole-dns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Homelab Pi-hole DNS
Pi-hole is a network-wide DNS ad blocker that runs on a Raspberry Pi or any Linux host. Every device on your network gets ad and malware domain blocking automatically — no browser extension needed.
When to Use
- Installing Pi-hole on a Raspberry Pi or Linux host
- Configuring Pi-hole as the DNS server for a home network
- Adding or managing blocklists
- Setting up DNS-over-HTTPS (DoH) upstream resolvers
- Creating local DNS records (e.g.
nas.home.lan,pi.home.lan) - Troubleshooting devices that lose internet access after Pi-hole is installed
- Running Pi-hole alongside or instead of DHCP
How Pi-hole Works
Normal flow (without Pi-hole):
Device → requests ads.tracker.com → ISP DNS → real IP → ads load
With Pi-hole:
Device → requests ads.tracker.com → Pi-hole DNS → blocked (returns 0.0.0.0) → no ad
All DNS queries go through Pi-hole first.
Pi-hole checks against blocklists.
Blocked domains return a null response — the ad/tracker never loads.
Allowed domains get forwarded to your upstream resolver (Cloudflare, Google, etc.).
Installation
Docker (Recommended)
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Category
- Debugging
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Returns Reverse Logistics5.4K
- Benchmark Optimization Loop5.4K
- Customer Billing Ops5.4K
- Openclaw Persona Forge5.4K
- Google Workspace Ops5.4K
- Hookify Rules5.4K
- Connections Optimizer5.4K
- Swift Protocol Di Testing5.4K
- Energy Procurement5.4K
- Swift Actor Persistence5.4K
- Quarkus Security5.4K
- Social Graph Ranker5.4K
- Network Bgp Diagnostics5.4K
- Visa Doc Translate5.4K
- Flox Environments5.4K
- Unified Notifications Ops5.4K
- Project Flow Ops5.4K
- Social Publisher5.4K
- Hermes Imports5.4K
- Evm Token Decimals5.4K
- Perl Patterns5.4K
- Quarkus Tdd5.4K
- Quarkus Verification5.4K
- Ralphinho Rfc Pipeline5.4K