# DoH-Server

DoH-Server is a self-hosted DNS-over-HTTPS (DoH) server for Unraid that encrypts your DNS queries so they stay private from your Internet Service Provider (ISP). It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1810/doh-server

## Description

DoH Server is a self-hosted DNS-over-HTTPS (DoH) server for Unraid that encrypts your DNS queries so they stay private from your Internet Service Provider (ISP). It adds DoH support to your network, so Firefox, Chrome, and Android (using the Intra app) can send encrypted queries through your own server, with Cloudflare and Google as the default upstream resolvers. On Android it can also block ads on the go without a VPN, handy for families or ad-averse users. It pairs with a Pi-Hole and a web server with a valid SSL certificate, and is built for homelab users who want to run their own encrypted DNS.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

58/100 (Fair), based on 4 of 5 factors.
- Maintained: 86 (last commit 20 days ago)
- Popular: 61 (1,079 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 20 (1 serious finding, 1 minor, CI)

## Security check

1 serious finding: A private key is committed in the source code.
Automated checks on commit 8cbfcb0, 27 Oct 2026. Not an audit.

## Links

- Official website: https://getintra.org
- Docker Hub: https://hub.docker.com/r/mschirrmeister/doh-server
- GitHub: https://github.com/DNSCrypt/doh-server
- Unraid: https://ca.unraid.net/apps/doh-server-0j680ti0rabjey?q=DoH-Server

## Common questions

### If standard DNS and public DoH providers are blocked, what does a self-hosted DoH server still need to resolve queries?

It needs a reachable upstream DNS server. If all upstream DNS paths are blocked, the self-hosted DoH server cannot resolve the domain.

### Can the DoH endpoint be served behind a reverse proxy such as Caddy?

Yes. A private DoH server can be hosted securely using Caddy as the web server in front of it.

### Do I have to switch to a cloud DNS provider to enable EncryptedSNI in Firefox?

No. The source describes enabling DoH while using a self-resolver instead of switching to a cloud provider.

### Can I secure the DoH endpoint with a custom path for use on Android?

Yes. A user placed a DoH server behind Caddy and appended a long custom path to make the endpoint harder to discover.

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