encrypted-dns is a proxy for operating an encrypted DNS service. It sits between DNS clients and an upstream resolver, accepting encrypted requests and forwarding them to the configured backend rather than performing recursive DNS resolution itself.
The software supports DNSCrypt and related encrypted transport mechanisms. It can recognise different client protocols on a shared listening port, allowing multiple forms of encrypted DNS communication to be offered through a common endpoint. The upstream resolver may run locally or be provided by an external DNS service.
encrypted-dns handles the cryptographic identity required by DNSCrypt clients and automatically manages the associated certificates. It also includes caching, configurable filtering and monitoring capabilities. The proxy can therefore be used to add encrypted client access to an existing DNS resolver while keeping the underlying recursive service separate.
This is free and open source software.
Key Features
- Accept encrypted DNS queries using DNSCrypt v2.
- Support post-quantum DNSCrypt capabilities.
- Provide Anonymized DNSCrypt relay functionality.
- Forward DNS-over-HTTPS requests to a configured DoH backend.
- Support QUIC forwarding while sharing the listening port with DNSCrypt.
- Detect incoming DNS protocols automatically.
- Generate and rotate DNSCrypt provider certificates automatically.
- Cache DNS responses to reduce the load on upstream resolvers.
- Serve expired cached responses when an upstream resolver becomes unavailable.
- Apply configurable domain filtering to DNSCrypt requests.
- Configure access controls for supported client requests.
- Expose Prometheus metrics for monitoring performance and cache behaviour.
Website: github.com/DNSCrypt/encrypted-dns-server
Support:
Developer: Frank Denis
License: MIT License
encrypted-dns is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| DNS Servers | |
|---|---|
| CoreDNS | DNS server that chains plugins |
| BIND | Flexible, full-featured DNS system |
| PowerDNS | Authoritative server, the Recursor, and Dnsdist |
| NSD | NLnet Labs Name Server Daemon |
| Technitium | Self host a DNS server for privacy and security |
| SmartDNS | Local DNS server that accepts DNS query requests from local clients |
| Unbound | Validating, recursive, caching DNS resolver |
| Hickory | Rust-based DNS client, server and resolver |
| YADIFA | Lightweight authoritative Name Server with DNSSEC capabilities |
| Knot DNS | High-performance authoritative-only DNS server |
| gdnsd | Authoritative-only DNS server |
| Dnsmasq | Network infrastructure: DNS, DHCP, router advertisement and network boot |
| acme-dns | Simplified DNS server with a RESTful HTTP API |
| encrypted-dns | Modern encrypted DNS server |
| MaraDNS | Small DNS server |
| aardvark-dns | Authoritative DNS server for A/AAAA container records |
| FDNS | Encrypted DNS proxy designed for small networks and Linux desktops |
| tinydns | Tiny DNS server with simple JSON config |
| pkdns | DNS server resolving pkarr self-sovereign domains |
| dprox | Lightweight DNS proxy server |
| PopuraDNS | Simple DNS server with decentralized domain names support |
| pdnsd | DNS server designed for local caching of DNS information |
| dnrs | DNS server written in rust |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.