Un cache-proxy DNS con supporto a DoH, DNSCrypt e Anonymized DNSCrypt
https://dnscrypt.info/
49000cd4f4
This commit updates the forwarding plugin to support matching subdomains of the root domain ("."). It looks like the forwarding plugin already performs subdomain matches against the domains specified in the forwarding rules files, but matches against the root domain weren't working because of the way matches are performed by comparing the normalized presentation format QNAME (which omits the trailing dot for all QNAMEs except the root domain name). Without this commit, only queries where the QNAME is exactly "." would match a forwarding rule for the "." domain, like this (with `offline_mode = true` and a single forwarding rule for the "." domain): ``` [2024-03-25 21:13:31] 100.100.100.100 . NS FORWARD 0ms 127.0.0.1:53 [2024-03-25 21:13:36] 100.100.100.100 com NS NOT_READY 0ms - ``` With this commit I get the expected result: ``` [2024-03-25 21:40:07] 100.100.100.100 . NS FORWARD 0ms 127.0.0.1:53 [2024-03-25 21:40:09] 100.100.100.100 com NS FORWARD 0ms 127.0.0.1:53 ``` |
||
---|---|---|
.ci | ||
.github | ||
contrib/msi | ||
dnscrypt-proxy | ||
utils/generate-domains-blocklist | ||
vendor | ||
windows | ||
.gitattributes | ||
.gitignore | ||
ChangeLog | ||
LICENSE | ||
README.md | ||
dnscrypt-logo.svg | ||
go.mod | ||
go.sum | ||
logo.png | ||
logo.svg |
README.md
Overview
A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2, 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, 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
- 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
HOSTS
file 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
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]