# Pi-hole with DoH

Pi-hole with DoH is a Pi-hole network ad blocker that adds Cloudflared to encrypt DNS queries with DNS-over-HTTPS, giving homelab users ad blocking with private DNS lookups. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1495/pi-hole-with-doh

## Description

Pi-hole with DoH is a Pi-hole network ad blocker that adds Cloudflared to encrypt DNS queries with DNS-over-HTTPS, giving homelab users ad blocking with private DNS lookups.

## Platform availability

Available on 1 of 6 install platforms: Unraid.

## Health score

52/100 (Fair), based on 2 of 4 factors.
- Easy to install: 20 (1 install platform, Docker image)
- Light to run: 95 (512 MB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/r/testdasi/pihole-with-doh/
- Unraid: https://ca.unraid.net/apps/pihole-with-doh-074kdas14zyr88?q=pihole-with-doh
- Documentation: https://docs.pi-hole.net/guides/dns-over-https/

## Common questions

### How do DoH and DoT relate to Pi-hole?

Pi-hole answers DNS queries, while DoH and DoT focus on securing the DNS connection.

### Has a self-hoster considered moving Pi-hole from an Unraid VM to Docker for DoH/DoT?

Yes, a user described running Pi-hole in a VM on Unraid and looking to move it to Docker after finding a Pi-hole container with DoH and DoT.

### What quick remediation is suggested for persistent Pi-hole DNS issues?

Sometimes pihole restartdns can help. If it helps but the root cause is unclear, you can schedule it with a crontab to run after the problem, while still solving the root cause later.

### What hardware-related issue has been reported with Pi-hole?

One user's cheap Wi-Fi dongle periodically stopped working until a reboot. They also had a dependency issue while re-setting up Pi-hole on ethernet that was easy to track down.

## Alternatives

- Fast.com: Powered by Netflix, Fast.com estimates your current download speed.
- LibreSpeed: LibreSpeed is a lightweight self-hosted speed test page.
- OpenSpeedTest: OpenSpeedTest is a private tool for measuring your home or office internet speed.
- Speedtest by Ookla: Measures download, upload, and ping speeds; offers global server testing, real-time connection graphs, VPN options, carrier coverage maps,…
- doh-server: This is a simple DoH Server for Unraid.
- iPerf3: Network performance testing tool.
- nPerf: More than a simple speed test, nPerf brings you the best and the fullest mobile connection quality measurement tool up to 10 Gb/s speeds!
- speedtest-cli: A command line interface for testing internet bandwidth using Speedtest by Ookla

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