# Pihole-DoT-DoH

Pihole-DoT-DoH is a self-hosted network services app. Pi-Hole - let's block those pesky ads! It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7196/pihole-dot-doh

## Description

Pi-Hole - let's block those pesky ads! Now with DNS-over-HTTPS and DNS-over-TLS! pihole.doh! Don't send your DNS queries in plain text. YOU MUST ASSIGN A STATIC IP TO THE DOCKER FOR PIHOLE TO WORK. You must set both DNS1 and DNS2 variables to 127.1.1.1#5153 (DoH) and/or 127.2.2.2#5253 (DoT). To use just DoH or just DoT, set both DNS1 and DNS2 to the same value. Otherwise, same instructions as official Pi-Hole. NOTE 1: Port 53 can only be used with custom br0/br1 network and a static IP address. NOTE 2: DNS lookup rarely ever works with ports other than 53 i.e. see note above about static IP. NOTE 3: Unraid network settings DNS server cannot point to a docker IP.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Links

- Unraid: https://ca.unraid.net/apps/pihole-dot-doh-0eflxqj0p259kn?q=Pihole-DoT-DoH
- Official website: https://docs.pi-hole.net/guides/dns-over-https/

## Common questions

### How should I set Pi-hole’s upstream DNS servers when using a local DoT or DoH service?

Configure the chosen DoT or DoH package for an alternative port, such as 53053. Then point Pi-hole’s Upstream DNS Servers to your local DoT or DoH service.

### How can I diagnose common Pi-hole DNS problems?

Use a self-diagnostic script that runs tests against the installation. It provides links to FAQ articles when a problem is detected.

### What are the odd random character queries in Pi-hole query logs?

They appear as three queries containing only random strings. They sometimes include the local domain suffix.

## 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…
- Portmaster: Free and open-source tool that monitors all network activity, blocks unwanted connections, uses filter lists for ads and malware, enforces…
- 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.
- simplewall: Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.

---
Source: Our Local Host (https://ourlocalhost.com/app/7196/pihole-dot-doh), the self-hosted and open-source app directory.
