Skip to content

dnscrypt-proxy

Local DNS proxy that encrypts your queries with DoH, DNSCrypt and ODoH

Permissive (OSI) · ISC
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

13,875

Last commit

yesterday

Nov 2026

Repository age

8 years

since Jan 2018

Latest version

2.1.21

Nov 2026

Contributors

–

3 active in 90 days

Releases

7

last 12 months

Language

Go

dnscrypt-proxy is a DNS proxy that sits between your devices and your DNS resolver. It encrypts and authenticates queries using DNSCrypt v2, DNS-over-HTTPS, Anonymized DNSCrypt and Oblivious DoH. It also supports post-quantum DNSCrypt. It is written in Go and released under the ISC license.

Beyond encryption, it can hide client IP addresses through Tor, SOCKS proxies or Anonymized DNS relays. It filters ads and malware, supports a weekly filtering schedule, and logs regular and suspicious queries to separate files. Other features include DNS caching, load balancing across the fastest resolvers, and cloaking, which returns set addresses for chosen names. It is compatible with DNSSEC.

Pre-built binaries cover Linux, Windows, macOS, Android, FreeBSD, OpenBSD, NetBSD and Dragonfly BSD on many architectures, including ARM and MIPS. A Homebrew formula is also available.

It works as a free alternative to relying on your ISP's plain-text DNS, and to vendor DNS clients.

Who it's for

Privacy-minded users on laptops or routers

It encrypts DNS and can hide your IP through relays or Tor.

Skip if: You want a graphical app with no configuration files.

Home network admins

It filters ads and malware network-wide and runs on MIPS and ARM routers.

Skip if: You want a per-device dashboard with query statistics.

Developers needing local name overrides

Cloaking maps names to chosen addresses, handy for local development.

Skip if: A simple hosts file already covers your needs.

The problem it solves

Ordinary DNS queries travel in plain text, so your ISP or network can read and alter them. You need a way to encrypt lookups and choose where they go. This proxy does that for every device behind it.

Strengths

  • Supports DoH, DNSCrypt, Anonymized DNSCrypt and ODoH
  • Binaries for Linux, Windows, macOS, Android and BSDs
  • Built-in filtering with a weekly schedule
  • Load balancing across the fastest resolvers
  • Resolver lists update automatically in the background

Trade-offs

  • Configuration is file-based, with no built-in GUI
  • Hot-reloading of config is off by default since v2.1.10
  • Only 3 contributors were active in the last 90 days

Self-host dnscrypt-proxy

Self-hostable
Yes

Frequently asked questions

Is dnscrypt-proxy free?

Yes. It is open source under the ISC license.

Which protocols does it support?

DNSCrypt v2, post-quantum DNSCrypt, DNS-over-HTTPS, Anonymized DNSCrypt and Oblivious DoH.

Which platforms does it run on?

Pre-built binaries exist for Linux, Windows, macOS, Android, FreeBSD, OpenBSD, NetBSD and Dragonfly BSD. A Homebrew formula is available for macOS.

Can it block ads?

Yes. It filters ads, malware and other unwanted content, and it works with any DNS service.

Similar tools in Network tools

cloudflare-ddns

Network tools

Dynamic DNS updater in Docker that keeps Cloudflare records on your current IP

3k 121 4 days ago Active Apache-2.0

Upsnap

Network tools

Wake-on-LAN web dashboard for homelabs, with scheduling and device scanning

6.5k 256 17 days ago Thriving MIT

AdGuard Home

Network tools

Network-wide DNS server that blocks ads and trackers for every device on your network

39k 2.6k today Thriving GPL-3.0

networking-toolbox

Network tools

Self-hosted collection of IP, subnetting and network tools for sysadmins, usable offline

2.7k 237 2 months ago Slowing MIT

poweradmin

Network tools

Web UI and REST API for managing PowerDNS zones, records and DNSSEC

934 298 today Active GPL-3.0

speedtest

Network tools

Self-hosted browser speed test for download, upload, ping and jitter

15k 2.5k 11 days ago Thriving LGPL-3.0