Skip to content
Back to skills

Homelab Pihole Dns

ASecurity

Use when pi-hole installation, blocklist management, DNS-over-HTTPS setup, DHCP integration, local DNS records, and troubleshooting broken DNS resolution on a home network. Triggers on \"homelab-pihole-dns\", \"homelab pihole dns\".

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsgobashdockergit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill homelab-pihole-dns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Homelab Pihole Dns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Homelab Pihole Dns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-homelab-pihole-dns/badge)](https://www.skillsdirectory.com/skills/majinmagros-homelab-pihole-dns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: homelab-pihole-dns
description: "Use when pi-hole installation, blocklist management, DNS-over-HTTPS setup, DHCP integration, local DNS records, and troubleshooting broken DNS resolution on a home network. Triggers on \"homelab-pihole-dns\", \"homelab pihole dns\"."
metadata:
  origin: ECC
---

# Homelab Pi-hole DNS

Network-wide DNS ad blocking for every device, no browser extension needed. Detalhes em `references/`.

## 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 after Pi-hole install

## Core Principles

1. **Static IP first** — install nothing before the Pi's address is fixed
2. **Pin versions** — release tags for image and cloudflared, never `latest`
3. **One DHCP server** — disable the router's before enabling Pi-hole's
4. **Strict blocking = no public fallback** — second Pi-hole for redundancy
5. **Gravity stays fresh** — weekly `pihole -g`; whitelist false positives

## Example

```bash
# Whitelist a false positive, verify, refresh lists
pihole -q example.com && pihole -w example.com
dig @192.168.3.2 google.com
pihole -g
```

## References

- `references/installation.md` — how it works, Docker compose, bare-metal install
- `references/network-config.md` — router/per-device/DHCP pointing, blocklists, DoH, local DNS
- `references/troubleshooting.md` — diagnostics, anti-patterns, best practices, related skills

## Checklist

- [ ] Static IP or DHCP reservation before install; password in `.env` (600), not git
- [ ] Router DHCP points at Pi-hole; no competing public fallback for strict blocking
- [ ] Blocklists added + gravity updated; Query Log reviewed
- [ ] DoH proxy pinned, checksum-verified, Pi-hole upstream set to `127.0.0.1#5053`
- [ ] Local DNS records created; rollback path documented (or second Pi-hole)

Files in this skill

  • SKILL.md2 KB
  • references/installation.md2.5 KB
  • references/network-config.md3.9 KB
  • references/troubleshooting.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.