- Name lists now support
regex:rules for matching domain names with regular expressions. - Added
doh_check_cert_hashes_on_connectto optionally check DoH certificate hashes from DNS stamps on every new connection, rather than only during probes. - Fixed PQDNSCrypt TCP padding and padding delimiter handling.
- Network change detection now ignores non-global addresses.
- HTTP/3 DNS responses are now limited to 4 KB.
- Network probes now support multiple comma-separated addresses.

dnscrypt-proxy
DNSCryptISC活跃维护一款灵活的 DNS 代理,支持 DNSCrypt、DoH、Oblivious DoH 等加密 DNS 协议,帮你加密查询、隐藏真实 IP,防止 DNS 被监听或劫持。
dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。
README 没有说明硬件要求。
项目说明
这个项目的说明还在生成中,先参考下面「最近发版」和 README。
- 2.1.20最新正式版2026-10-22 · 2026-10-22 20:30 UTC
- 2.1.192026-10-20 · 2026-10-20 13:00 UTC
查看更新说明
- Resumed PQDNSCrypt queries now use regular UDP padding, protecting their size and response budget. Oversized tickets are rejected, and oversized queries fall back to TCP.
- Network changes are detected more reliably, ensuring PQDNSCrypt key material rotates when connections change.
- Forwarded queries to local or DHCP resolvers now use UDP by default. Bootstrap resolvers still use TCP when
force_tcpis enabled. - Suffix rules now match only at DNS label boundaries. IP allow/block rules now correctly handle IPv4-mapped IPv6 addresses.
- The monitoring dashboard displays the running version. Its endpoints no longer allow cross-origin browser access.
- 2.1.182026-07-18 · 2026-07-18 12:14 UTC
查看更新说明
- Forwarding rules now support the
$PROXY:prefix to send selected plain DNS upstreams over DNS-over-TCP through the proxy configured by the mainproxysetting. - PQDNSCrypt certificate retrieval is more reliable on paths where fragmented UDP packets are blocked, including when certificates are fetched through Anonymized DNSCrypt relays.
- Resolver latency measurements no longer include setup or certificate-transfer time, so startup benchmarks and server selection better reflect actual query response time.
- Forwarding rules now support the
- 2.1.172026-07-13 · 2026-07-13 15:45 UTC
查看更新说明
- Added support for PQDNSCrypt (DNSCrypt 2026), using post-quantum cryptography with compatible DNSCrypt servers to protect query confidentiality against future quantum computers. It is enabled by default and can be disabled with the new
pqdnscryptsetting. - Key material is now rotated when the local network changes, reducing linkability across network changes.
- Fixed a cache issue that could corrupt cached responses or cause data races under concurrent use.
- The
netprobe_timeoutconfiguration setting is now honored instead of being silently overridden by its command-line default. - Forwarded queries now correctly fall back to TCP after a truncated UDP response, and SOCKS-proxied anonymized DNS exchanges are sent to the relay.
- HTTP/3 connections now retry after transient failures, and bootstrap resolution succeeds when at least one address was obtained.
- Cloaking rules that resolve through a rule ending in an IP address are no longer incorrectly rejected as recursive. Actual loops are still rejected.
- The monitoring dashboard now resolves API paths against the page origin, allowing it to work correctly when hosted under a path.
- Added support for PQDNSCrypt (DNSCrypt 2026), using post-quantum cryptography with compatible DNSCrypt servers to protect query confidentiality against future quantum computers. It is enabled by default and can be disabled with the new
- 2.1.162026-05-24 · 2026-05-24 07:44 UTC
查看更新说明
Version 2.1.16
- Dashboard HTML pages are no longer cached, preventing stale content from being served after upgrades.
- The IP allow/block plugins now support CIDR ranges in addition to single addresses and prefix matching.
- Forwarding rules now support
$RESOLVCONF:<file>to pick up upstream resolvers from a resolv.conf-style file, complementing the existing$DHCPsyntax. - Recursive cloaking rules are now rejected at load time instead of being detected only when a matching query arrives.
- Servers that hit a transient high RTT could previously stay penalized forever and never come back into rotation; their RTT estimate now decays so they can recover.
- Servers are no longer penalized for slow responses when the response is actually being served from the stale cache.
- HTTP/3 probing now consults a negative cache before retrying, avoiding repeated probes against servers known not to support it.
- The HTTP transport now handles
Alt-Svc: clearproperly and reuses HTTP connections more aggressively. - The cache TTL is now an explicit, configurable parameter rather than being derived implicitly.
- Log entries now include the relay name when a query was sent through an anonymized DNS or ODoH relay.
- A new
tls_prefer_rsaoption has been added to prefer RSA cipher suites during the TLS handshake, useful on systems without hardware AES. - The
tls_cipher_suiteoption is now a no-op. Modern TLS stacks no longer expose cipher suite selection in a meaningful way, and the option had become misleading. - The
-resolvecommand now reports incomplete DNSSEC support instead of silently treating partial signatures as a success. - ODoH: the 401 key-refresh path has been hardened against panics, races and bad server state, refreshes are now coalesced, and the blocking sleep on refresh has been removed.
- A log size of 0 no longer means "unlimited"; it now correctly disables rotation by size.
-
jsdelivris now offered as an alternative source URL for resolver lists, providing more redundancy when the primary mirrors are unreachable.
- The miekg/dns library has been updated to the v2 series.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Overview
A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 including Post-Quantum DNSCrypt (DNSCrypt 2026), DNS-over-HTTPS, Anonymized DNSCrypt and ODoH (Oblivious DoH).
- dnscrypt-proxy documentation ← Start here
- DNSCrypt project home page
- Discussions
- DNS-over-HTTPS and DNSCrypt resolvers
- Server and client implementations
- DNS stamps
- FAQ
Download the latest release
Available as source code and pre-built binaries for most operating systems and architectures (see below).
Features
- DNS traffic encryption and authentication. Supports DNS-over-HTTPS (DoH) using TLS 1.3 and QUIC, PQDNSCrypt, DNSCrypt, Anonymized DNS and ODoH
- Client IP addresses can be hidden using Tor, SOCKS proxies or Anonymized DNS relays
- DNS query monitoring, with separate log files for regular and suspicious queries
- Filtering: block ads, malware, and other unwanted content. Compatible with all DNS services
- Time-based filtering, with a flexible weekly schedule
- Transparent redirection of specific domains to specific resolvers
- Optional hot-reloading of configuration files (disabled by default from v2.1.10)
- DNS caching, to reduce latency and improve privacy
- Local IPv6 blocking to reduce latency on IPv4-only networks
- Load balancing: pick a set of resolvers, dnscrypt-proxy will automatically measure and keep track of their speed, and balance the traffic across the fastest available ones.
- Cloaking: like a
HOSTSfile on steroids, that can return preconfigured addresses for specific names, or resolve and return the IP address of other names. This can be used for local development as well as to enforce safe search results on Google, Yahoo, DuckDuckGo and Bing - Automatic background updates of resolvers lists
- Can force outgoing connections to use TCP
- Compatible with DNSSEC
- Includes a local DoH server in order to support ECH (ESNI)
Pre-built binaries
Up-to-date, pre-built binaries are available for:
- Android/arm
- Android/arm64
- Android/x86
- Android/x86_64
- Dragonfly BSD
- FreeBSD/arm
- FreeBSD/x86
- FreeBSD/x86_64
- Linux/arm
- Linux/arm64
- Linux/mips
- Linux/mipsle
- Linux/mips64
- Linux/mips64le
- Linux/x86
- Linux/x86_64
- macOS/arm64
- macOS/x86_64
- NetBSD/x86
- NetBSD/x86_64
- OpenBSD/x86
- OpenBSD/x86_64
- Windows
- Windows 64 bit
- Windows ARM
How to use these files, as well as how to verify their signatures, are documented in the installation instructions.
Contributors
Code Contributors
This project exists thanks to all the people who contribute.
Financial Contributors
Become a financial contributor and help us sustain our community. [Contribute]
Individuals
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
