Description
encrypted-dns-server is a proxy that runs an encrypted DNS server for DNSCrypt clients. It is written in Rust and is designed to be easy to install and to need little upkeep. The proxy speaks DNSCrypt v2, including post-quantum DNSCrypt and anonymized DNSCrypt, and it can forward DNS-over-HTTPS and QUIC traffic on the same UDP port, which is usually 443. It detects which protocol each client is using. The proxy needs a recursive DNS resolver such as Knot, PowerDNS or Unbound, which can run locally and answer only on 127.0.0.1. Provider key pairs and certificates are created and rotated automatically, and the DNS stamps it prints can be used directly with dnscrypt-proxy. Precompiled x86_64 binaries and Debian packages are offered for Linux and Windows, and the project can also be built from source with Rust and a C compiler. A Docker deployment is available through a separate project. Operators moving from the older dnscrypt-wrapper can follow a migration guide. It suits people who want to run their own encrypted DNS server rather than rely on someone else's.…
Highlights
- DNSCrypt v2 and post-quantum DNSCrypt
- Anonymized DNSCrypt and DNS-over-HTTPS forwarding
- Automatic key pair and certificate generation and rotation
- Precompiled binaries for Linux and Windows
- Migration guide from dnscrypt-wrapper
Ratings & Reviews
No ratings yet
Be the first to rate Encrypted DNS Server.
People also visit
Encrypted DNS Server FAQ
What does this proxy do?
It runs an encrypted DNS server so clients can send DNS queries over DNSCrypt. DNS-over-HTTPS and QUIC forwarding can be served on the same port.
Which DNS resolver does it need?
A recursive resolver such as Knot, PowerDNS or Unbound. It can run locally and only answer 127.0.0.1. External resolvers such as Quad9 or Cloudflare can also be used, but may be less reliable because of rate limits.
Does it support DNS-over-HTTPS?
Yes, but only with a separate DoH proxy running next to it. The project recommends rust-doh. DoH is harder to set up than DNSCrypt because of certificate management.
How do I install it?
Use a precompiled x86_64 binary or Debian package, or build from source with Rust and a C compiler. Copy the example TOML file to encrypted-dns.toml, then review the listen addresses and provider name.
Do I manage keys and certificates myself?
No. The proxy creates a provider key pair if none exists, and certificates are generated and rotated automatically.
How do clients connect?
When the proxy starts it prints DNS stamps. Those stamps can be used directly with dnscrypt-proxy.
Can I move from dnscrypt-wrapper?
Yes. The README has a migration section for moving an existing dnscrypt-wrapper server to this proxy.
What are the best Encrypted DNS Server alternatives?
Popular alternatives to Encrypted DNS Server include Dnsproxy, Dnscrypt Proxy and Doh Server. See all Encrypted DNS Server alternatives

