dnscrypt-proxy is a local DNS proxy that forwards queries using encrypted protocols such as DNSCrypt, DNS-over-HTTPS, Anonymized DNS, and ODoH.
Overview
dnscrypt-proxy sits between your devices and upstream resolvers to encrypt and authenticate DNS traffic. It implements modern protocols including DNSCrypt v2, post-quantum DNSCrypt variants, DNS-over-HTTPS with TLS 1.3 and QUIC, Anonymized DNSCrypt, and Oblivious DoH.
The proxy can hide client IP addresses via Tor, SOCKS proxies, or anonymized relays. It monitors queries in separate logs for normal and suspicious activity, caches responses, and can load-balance across a set of resolvers based on measured speed.
Filtering blocks unwanted content such as ads and malware across resolver choices, with optional weekly time-based rules. Cloaking returns fixed addresses or redirects for chosen names, similar to an advanced hosts file. Configuration can be reloaded without a full restart when that option is enabled.
Pre-built binaries are published for many operating systems and CPU architectures, and the project ships as source or packaged builds with documented installation steps.
Key features
- DNSCrypt and DoH support
- Anonymized DNS and ODoH
- Query filtering and schedules
- Resolver load balancing
- DNS caching and logging
- Tor and SOCKS client hiding
- Cloaking for custom names
- DNSSEC compatible
Use cases
- Encrypted DNS on home networks
- Blocking ads and malware at DNS
- Hiding client IP from resolvers
- Local development name overrides