# Pi-hole v6 + Unbound

Pi-hole v6 + Unbound is a Docker image that combines Pi-hole, a network-wide ad-blocking domain name system (DNS) sinkhole, with the Unbound recursive DNS resolver in a single container. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1471/pi-hole-v6-unbound

## Description

Pi-hole v6 + Unbound is a Docker image that combines Pi-hole, a network-wide ad-blocking domain name system (DNS) sinkhole, with the Unbound recursive DNS resolver in a single container. It is built on the official Pi-hole base image, with Unbound installed inside the container following the Pi-hole team's own instructions, so a homelab gets a complete self-hosted DNS stack with local ad blocking from one container instead of running the DNS servers separately. It is aimed at self-hosters who want a ready-made Pi-hole plus Unbound setup without building the image themselves.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

71/100 (Good), based on 4 of 4 factors.
- Maintained: 84 (last commit 27 days ago)
- Popular: 63 (1,335 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 95 (512 MB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/mpgirro/docker-pihole-unbound
- Docker Hub: https://hub.docker.com/r/mpgirro/pihole-unbound
- Unraid: https://ca.unraid.net/apps/pihole-v6-unbound-01lyw4w0byxbq4?q=pihole-v6-unbound

## Common questions

### Which image should I use if I previously used cbcrowe/pihole-unbound?

Use mpgirro/pihole-unbound from Docker Hub or GitHub Container Registry. The old cbcrowe image is deprecated and no longer receives updates.

### Do I need a separate Unbound container for this image?

No. The image includes and configures Unbound directly inside the Pi-hole container, so you do not need to set up and link another Unbound container.

### How do I update the container?

Run docker compose pull and docker compose up -d. A weekly rebuild overwrites latest and the Pi-hole version tag to pick up new packages.

## Alternatives

- AdAway: An ad blocker that uses the hosts file.
- AdGuard: AdGuard is the best way to get rid of intrusive ads and online tracking, and to protect your computer from malware.
- AdGuard Home: AdGuard Home is a self-hosted DNS server that blocks ads and trackers across your entire home network by re-routing tracking domains to a b…
- Blokada: Blokada is the popular ad blocker and privacy app for Android and iOS.
- Control D: Control D is a modern and customizable DNS service that blocks threats, unwanted content and ads - on all devices.
- NextDNS: NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised…
- OpenSnitch: Firewall for Linux providing interactive outbound filtering, blocking ads and malware domains, configurable via GUI, with centralized node…
- Pi-hole: Pi-hole is a network-level Domain Name System (DNS) sinkhole that blocks Internet advertisements and tracking domains.
- Portmaster: Free and open-source tool that monitors all network activity, blocks unwanted connections, uses filter lists for ads and malware, enforces…
- Privoxy: Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, co…
- RethinkDNS: An OpenSnitch-inspired firewall and network monitor + a pi-hole-inspired DNS over HTTPS client with blocklists.
- Technitium DNS Server: Technitium DNS Server is an open source tool that can be used as a personal local DNS server for privacy &amp; security.

---
Source: Our Local Host (https://ourlocalhost.com/app/1471/pi-hole-v6-unbound), the self-hosted and open-source app directory.
