# DNSCrypt/doh-server

Fast, mature, secure DoH and ODoH server proxy written in Rust. Previously known as doh-proxy and rust-doh.

Repository: https://github.com/DNSCrypt/doh-server
Canonical: https://ross.abutalabs.com/products/doh-server
Language: Rust
License: MIT
License Family: permissive
Topics: doh, dns, dnscrypt-proxy, http, proxy, doh-server, server, doh-proxy, doh-service, dnscrypt, encrypted-dns-server, doh-connections, odoh, oblivious-dns-over-https
Last push: 2026-05-24T11:09:44+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 58, longevity 100
- inputs: {"age_days": 3131, "days_push": 101, "days_rel": 122, "gap_med": 164.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1059, forks 100 (observed 2026-08-28T04:03:25.610904+00:00)

## What it is
A fast, secure DNS-over-HTTPS (DoH) and Oblivious DoH (ODoH) server proxy written in Rust, formerly known as doh-proxy. It does not resolve DNS itself but sits in front of any DNS resolver to add encrypted DNS support, with production use since 2018.

## Use cases
- run my own dns-over-https server
- add doh support to an existing dns resolver
- host an oblivious doh (odoh) server for privacy
- serve dns-over-https  api like google dns
- deploy encrypted dns behind nginx or haproxy
- self-host a secure doh proxy in rust

## When to choose
- you need a battle-tested, production-grade DoH/ODoH frontend for an existing DNS resolver
- you want high performance encrypted DNS written in Rust
- you need Google-compatible DoH JSON API support or EDNS Client Subnet forwarding

## When to avoid
- you need a full recursive DNS resolver (this only proxies to one)
- you want a client-side DoH proxy for end-user devices rather than a server
- you prefer a non-Rust stack or need a GUI-managed DNS solution

## Facets
- artifact type: service
- maturity: stable
- function: proxy, http-server, networking, security, privacy
- domain: networking, security, privacy, self-hosted
- platform: rust, cross-platform, self-hosted
- tags: dns-over-https, odoh, dnscrypt, encrypted-dns, dns-server, rust, linux, macos

## Member repositories
- DNSCrypt/doh-server (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.610904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:57:05.076510+00:00, confidence not recorded.
  - readme: https://github.com/DNSCrypt/doh-server (fetched 2026-08-28T04:03:25.610904+00:00, sha 09f6e864ee6b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
