| 1 |
# Version 2.1.18 |
| 2 |
- Forwarding rules now support the `$PROXY:` prefix to send selected plain |
| 3 |
DNS upstreams over DNS-over-TCP through the proxy configured by the main |
| 4 |
`proxy` setting. |
| 5 |
- PQDNSCrypt certificate retrieval is more reliable on paths where |
| 6 |
fragmented UDP packets are blocked, including when certificates are fetched |
| 7 |
through Anonymized DNSCrypt relays. |
| 8 |
- Resolver latency measurements no longer include setup or |
| 9 |
certificate-transfer time, so startup benchmarks and server selection better |
| 10 |
reflect actual query response time. |
| 11 |
|
| 12 |
# Version 2.1.17 |
| 13 |
- Added support for PQDNSCrypt (DNSCrypt 2026), using post-quantum |
| 14 |
cryptography with compatible DNSCrypt servers to protect query confidentiality |
| 15 |
against future quantum computers. It is enabled by default and can be disabled |
| 16 |
with the new `pqdnscrypt` setting. |
| 17 |
- Key material is now rotated when the local network changes, reducing |
| 18 |
linkability across network changes. |
| 19 |
- Fixed a cache issue that could corrupt cached responses or cause data |
| 20 |
races under concurrent use. |
| 21 |
- The `netprobe_timeout` configuration setting is now honored instead of |
| 22 |
being silently overridden by its command-line default. |
| 23 |
- Forwarded queries now correctly fall back to TCP after a truncated UDP |
| 24 |
response, and SOCKS-proxied anonymized DNS exchanges are sent to the relay. |
| 25 |
- HTTP/3 connections now retry after transient failures, and bootstrap |
| 26 |
resolution succeeds when at least one address was obtained. |
| 27 |
- Cloaking rules that resolve through a rule ending in an IP address are no |
| 28 |
longer incorrectly rejected as recursive. Actual loops are still rejected. |
| 29 |
- The monitoring dashboard now resolves API paths against the page origin, |
| 30 |
allowing it to work correctly when hosted under a path. |
| 31 |
|
| 32 |
# Version 2.1.16 |
| 33 |
- Dashboard HTML pages are no longer cached, preventing stale content from |
| 34 |
being served after upgrades. |
| 35 |
- The IP allow/block plugins now support CIDR ranges in addition to single |
| 36 |
addresses and prefix matching. |
| 37 |
- Forwarding rules now support `$RESOLVCONF:<file>` to pick up upstream |
| 38 |
resolvers from a resolv.conf-style file, complementing the existing `$DHCP` |
| 39 |
syntax. |
| 40 |
- Recursive cloaking rules are now rejected at load time instead of being |
| 41 |
detected only when a matching query arrives. |
| 42 |
- Servers that hit a transient high RTT could previously stay penalized |
| 43 |
forever and never come back into rotation; their RTT estimate now decays so |
| 44 |
they can recover. |
| 45 |
- Servers are no longer penalized for slow responses when the response is |
| 46 |
actually being served from the stale cache. |
| 47 |
- HTTP/3 probing now consults a negative cache before retrying, avoiding |
| 48 |
repeated probes against servers known not to support it. |
| 49 |
- The HTTP transport now handles `Alt-Svc: clear` properly and reuses HTTP |
| 50 |
connections more aggressively. |
| 51 |
- The cache TTL is now an explicit, configurable parameter rather than being |
| 52 |
derived implicitly. |
| 53 |
- Log entries now include the relay name when a query was sent through an |
| 54 |
anonymized DNS or ODoH relay. |
| 55 |
- A new `tls_prefer_rsa` option has been added to prefer RSA cipher suites |
| 56 |
during the TLS handshake, useful on systems without hardware AES. |
| 57 |
- The `tls_cipher_suite` option is now a no-op. Modern TLS stacks no longer |
| 58 |
expose cipher suite selection in a meaningful way, and the option had become |
| 59 |
misleading. |
| 60 |
- The `-resolve` command now reports incomplete DNSSEC support instead of |
| 61 |
silently treating partial signatures as a success. |
| 62 |
- ODoH: the 401 key-refresh path has been hardened against panics, races |
| 63 |
and bad server state, refreshes are now coalesced, and the blocking sleep |
| 64 |
on refresh has been removed. |
| 65 |
- A log size of 0 no longer means "unlimited"; it now correctly disables |
| 66 |
rotation by size. |
| 67 |
- `jsdelivr` is now offered as an alternative source URL for resolver |
| 68 |
lists, providing more redundancy when the primary mirrors are unreachable. |
| 69 |
- The miekg/dns library has been updated to the v2 series. |
| 70 |
|
| 71 |
# Version 2.1.15 |
| 72 |
- The proxy now dynamically reduces timeouts as the connection limit is |
| 73 |
approached, improving performance and preventing connection exhaustion under |
| 74 |
heavy load. |
| 75 |
- Fixed crashes in the configuration file watcher when fsnotify creation |
| 76 |
fails. |
| 77 |
- DHCP resolver errors ($DHCP forwarding) are now properly logged and |
| 78 |
visible to system administrators. |
| 79 |
- Fixed double-bracketing of IPv6 addresses in DoH stamps that could prevent |
| 80 |
proper connection to IPv6 DoH servers. |
| 81 |
- Cache statistics are now more accurate by only counting queries that |
| 82 |
actually participate in caching. |
| 83 |
- The monitoring UI has been enhanced with server health indicators and |
| 84 |
improved display of resolver performance metrics. |
| 85 |
- Proxy hostnames (when using SOCKS/HTTP proxies) are now pre-resolved using |
| 86 |
bootstrap resolvers if they are domain names. |
| 87 |
- Multiple IP addresses per hostname are now cached instead of randomly |
| 88 |
selecting one, improving connection reliability for multi-homed servers. |
| 89 |
|
| 90 |
# Version 2.1.14 |
| 91 |
- Added support for client IP address encryption in logs using IPCrypt |
| 92 |
(https://ipcrypt-std.github.io/). Three algorithms are supported: |
| 93 |
deterministic, non-deterministic with 8-byte tweak, and extended |
| 94 |
non-deterministic with 16-byte tweak. |
| 95 |
- Enhanced pattern rule documentation with better examples. |
| 96 |
- Fixed an issue where nil client addresses could cause crashes. |
| 97 |
|
| 98 |
# Version 2.1.13 |
| 99 |
- Fixed race conditions in WebSocket handling for the monitoring dashboard, |
| 100 |
improving stability and preventing potential crashes. |
| 101 |
- Manual configuration reload via SIGHUP is now supported regardless of the |
| 102 |
hot-reload setting, providing more flexibility for system administrators. |
| 103 |
- Fixed a regression in IP prefix matching for allow/block lists that could |
| 104 |
cause incorrect filtering behavior. |
| 105 |
- The monitoring dashboard now properly displays blocked queries counter and |
| 106 |
tracks blocked queries in the UI. |
| 107 |
- Improved error handling in the cache plugin initialization. |
| 108 |
- Enhanced the forward plugin to return the last valid response when |
| 109 |
encountering only errors, improving resilience. |
| 110 |
- Fixed various UI issues including scrolling behavior, WebSocket reconnection |
| 111 |
handling, and response time calculations. |
| 112 |
- Updated the example configuration with current Quad9 source URLs. |
| 113 |
- The generate-domains-blocklist script now handles poor network conditions |
| 114 |
more gracefully. |
| 115 |
- Improved handling of DNS64 trampoline queries to prevent potential issues. |
| 116 |
|
| 117 |
# Version 2.1.12 |
| 118 |
- A new Weighted Power of Two (WP2) load balancing strategy has been |
| 119 |
implemented as the default, providing improved distribution across resolvers. |
| 120 |
- An optional Prometheus metrics endpoint has been added for monitoring and |
| 121 |
observability. |
| 122 |
- Memory usage for the cache has been reduced. |
| 123 |
- The monitoring dashboard has received significant improvements including |
| 124 |
better security, performance optimizations, WebSocket rate limiting, and HTTP |
| 125 |
caching headers. |
| 126 |
- The monitoring UI has been refined with stable sorting to prevent |
| 127 |
flickering, query type limitations, and improved scrolling behavior. |
| 128 |
- Additional records in queries are now properly removed before forwarding. |
| 129 |
- The simple view UI has been removed as it provided limited utility. |
| 130 |
|
| 131 |
# Version 2.1.11 |
| 132 |
- The sievecache dependency was updated to fix a bug causing the cache to crash. |
| 133 |
|
| 134 |
# Version 2.1.10 |
| 135 |
- Hot-reloading of configuration files is now optional and disabled by default. |
| 136 |
It can be enabled by setting `enable_hot_reload = true` in the configuration file. |
| 137 |
- The file system monitoring for hot-reloading now uses efficient OS-native |
| 138 |
file notifications instead of polling, reducing CPU usage and improving responsiveness. |
| 139 |
|
| 140 |
# Version 2.1.9 |
| 141 |
- A live web-based monitoring UI has been added, allowing you to monitor DNS |
| 142 |
query activity and performance metrics through an interactive dashboard. |
| 143 |
- Hot-reloading of configuration files has been implemented, allowing you to |
| 144 |
modify filtering rules and other configurations without restarting the proxy. |
| 145 |
Simply edit a configuration file (like blocked-names.txt) and changes are |
| 146 |
applied instantaneously. |
| 147 |
- HTTP/3 probing is now supported via the `http3_probe` option, which will |
| 148 |
try HTTP/3 first for DoH servers, even if they don't advertise support via |
| 149 |
Alt-Svc. |
| 150 |
- Authentication for the monitoring UI can be disabled by setting the |
| 151 |
username to an empty string in the configuration. |
| 152 |
- Several race conditions have been fixed. |
| 153 |
- Dependencies have been updated. |
| 154 |
- DHCP DNS detector instances have been reduced to improve performance. |
| 155 |
- Tor isolation for dnscrypt-proxy has been documented to enhance privacy. |
| 156 |
- The default example configuration file has been improved for clarity and |
| 157 |
usability. |
| 158 |
- The cache lock contention has been reduced to improve performance under |
| 159 |
high load. |
| 160 |
- generate-domains-blocklist: added parallel downloading of block lists for |
| 161 |
significantly improved performance. |
| 162 |
|
| 163 |
# Version 2.1.8 |
| 164 |
- Dependencies have been updated, notably the QUIC implementation, |
| 165 |
which could be vulnerable to denial-of-service attacks. |
| 166 |
- In forwarding rules, the target can now optionally include a |
| 167 |
non-standard DNS port number. The port number is also now optional when |
| 168 |
using IPv6. |
| 169 |
- An annoying log message related to permissions on Windows has been |
| 170 |
suppressed. |
| 171 |
- Resolver IP addresses can now be refreshed more frequently. |
| 172 |
Additionally, jitter has been introduced to prevent all resolvers from |
| 173 |
being refreshed simultaneously. Further changes have been implemented |
| 174 |
to mitigate issues arising from multiple concurrent attempts to resolve |
| 175 |
a resolver's IP address. |
| 176 |
- An empty value for "tls_cipher_suite" is now equivalent to leaving |
| 177 |
the property undefined. Previously, it disabled all TLS cipher suites, |
| 178 |
which had little practical justification. |
| 179 |
- In forwarding rules, an optional `*.` prefix is now accepted. |
| 180 |
|
| 181 |
# Version 2.1.7 |
| 182 |
- This version reintroduces support for XSalsa20 enryption in DNSCrypt, |
| 183 |
which was removed in 2.1.6. Unfortunately, a bunch of servers still |
| 184 |
only support that encryption system. |
| 185 |
- A check for lying resolvers was added for DNSCrypt, similar to the one |
| 186 |
that was already present for DoH and ODoH. |
| 187 |
- Binary packages for Windows/ARM are now available, albeit not in MSI |
| 188 |
format yet. |
| 189 |
|
| 190 |
# Version 2.1.6 |
| 191 |
- Forwarding: in the list of servers for a zone, the `$BOOTSTRAP` keyword |
| 192 |
can be included as a shortcut to forward to the bootstrap servers. |
| 193 |
And the `$DHCP` keyword can be included to forward to the DNS resolvers |
| 194 |
provided by the local DHCP server. Based on work by YX Hao, thanks! |
| 195 |
DHCP forwarding should be considered experimental and may not work on all |
| 196 |
operating systems. A rule for a zone can mix and match multiple forwarder |
| 197 |
types, such as `10.0.0.1,10.0.0.254,$DHCP,192.168.1.1,$BOOTSTRAP`. |
| 198 |
Note that this is not implemented for captive portals yet. |
| 199 |
- Lying resolvers are now skipped, instead of just printing an error. |
| 200 |
This doesn't apply to captive portal and forwarding entries, which are the |
| 201 |
only reasonable use case for lying resolvers. |
| 202 |
- Support for XSalsa20 in DNSCrypt has been removed. This was not documented, |
| 203 |
and was supserseded by XChaCha20 in 2016. |
| 204 |
- Source files are now fetched with compression. |
| 205 |
- DNS64: compatibility has been improved. |
| 206 |
- Forwarding: the root domain (`.`) can now be forwarded. |
| 207 |
- The ARC caching algorithm has been replaced by the SIEVE algorithm. |
| 208 |
- Properties of multiple servers are now updated simultaneously. |
| 209 |
The concurrency level can be adjusted with the new `cert_refresh_concurrency` |
| 210 |
setting. Contributed by YX Hao. |
| 211 |
- MSI packages for DNSCrypt can now easily be built. |
| 212 |
- New command-line flag: `-include-relays` to include relays in `-list` and |
| 213 |
`-list-all`. |
| 214 |
- Support for DNS extended error codes has been added. |
| 215 |
- Documentation updates, bug fixes, dependency updates. |
| 216 |
|
| 217 |
# Version 2.1.5 |
| 218 |
- dnscrypt-proxy can be compiled with Go 1.21.0+ |
| 219 |
- Responses to blocked queries now include extended error codes |
| 220 |
- Reliability of connections using HTTP/3 has been improved |
| 221 |
- New configuration directive: `tls_key_log_file`. When defined, this |
| 222 |
is the path to a file where TLS secret keys will be written to, so |
| 223 |
that DoH traffic can be locally inspected. |
| 224 |
|
| 225 |
# Version 2.1.4 |
| 226 |
- Fixes a regression from version 2.1.3: when cloaking was enabled, |
| 227 |
blocked responses were returned for records that were not A/AAAA/PTR |
| 228 |
even for names that were not in the cloaked list. |
| 229 |
|
| 230 |
# Version 2.1.3 |
| 231 |
- DNS-over-HTTP/3 (QUIC) should be more reliable. In particular, |
| 232 |
version 2.1.2 required another (non-QUIC) resolver to be present for |
| 233 |
bootstrapping, or the resolver's IP address to be present in the |
| 234 |
stamp. This is not the case any more. |
| 235 |
- dnscrypt-proxy is now compatible with Go 1.20+ |
| 236 |
- Commands (-check, -show-certs, -list, -list-all) now ignore log |
| 237 |
files and directly output the result to the standard output. |
| 238 |
- The `cert_ignore_timestamp` configuration switch is now documented. |
| 239 |
It allows ignoring timestamps for DNSCrypt certificate verification, |
| 240 |
until a first server is available. This should only be used on devices |
| 241 |
that don't have any ways to set the clock before DNS service is up. |
| 242 |
However, a safer alternative remains to use an NTP server with a fixed |
| 243 |
IP address (such as time.google.com), configured in the captive portals |
| 244 |
file. |
| 245 |
- Cloaking: when a name is cloaked, unsupported record types now |
| 246 |
return a blocked response rather than the actual records. |
| 247 |
- systemd: report Ready earlier as dnscrypt-proxy can itself manage |
| 248 |
retries for updates/refreshes. |
| 249 |
|
| 250 |
# Version 2.1.2 |
| 251 |
- Support for DoH over HTTP/3 (DoH3, HTTP over QUIC) has been added. |
| 252 |
Compatible servers will automatically use it. Note that QUIC uses UDP |
| 253 |
(usually over port 443, like DNSCrypt) instead of TCP. |
| 254 |
- In previous versions, memory usage kept growing due to channels not |
| 255 |
being properly closed, causing goroutines to pile up. This was fixed, |
| 256 |
resulting in an important reduction of memory usage. Thanks to |
| 257 |
@lifenjoiner for investigating and fixing this! |
| 258 |
- DNS64: `CNAME` records are now translated like other responses. |
| 259 |
Thanks to @ignoramous for this! |
| 260 |
- A relay whose name has been configured, but doesn't exist in the |
| 261 |
list of available relays is now a hard error. Thanks to @lifenjoiner! |
| 262 |
- Mutexes/locking: bug fixes and improvements, by @ignoramous |
| 263 |
- Official packages now include linux/riscv64 builds. |
| 264 |
- `dnscrypt-proxy -resolve` now reports if ECS (EDNS-clientsubnet) is |
| 265 |
supported by the server. |
| 266 |
- `dnscrypt-proxy -list` now includes ODoH (Oblivious DoH) servers. |
| 267 |
- Local DoH: queries made using the `GET` method are now handled. |
| 268 |
- The service can now be installed on OpenRC-based systems. |
| 269 |
- `PTR` queries are now supported for cloaked domains. Contributed by |
| 270 |
Ian Bashford, thanks! |
| 271 |
|
| 272 |
# Version 2.1.1 |
| 273 |
This is a bugfix only release, addressing regressions introduced in |
| 274 |
version 2.1.0: |
| 275 |
- When using DoH, cached responses were not served any more when |
| 276 |
experiencing connectivity issues. This has been fixed. |
| 277 |
- Time attributes in allow/block lists were ignored. This has been |
| 278 |
fixed. |
| 279 |
- The TTL as served to clients is now rounded and starts decreasing |
| 280 |
before the first query is received. |
| 281 |
- Time-based rules are properly handled again in |
| 282 |
generate-domains-blocklist. |
| 283 |
- DoH/ODoH: entries with an IP address and using a non-standard port |
| 284 |
used to require help from a bootstrap resolver. This is not the case |
| 285 |
any more. |
| 286 |
|
| 287 |
# Version 2.1.0 |
| 288 |
- `dnscrypt-proxy` now includes support for Oblivious DoH. |
| 289 |
- If the proxy is overloaded, cached and synthetic queries now keep being |
| 290 |
served, while non-cached queries are delayed. |
| 291 |
- A deprecation warning was added for `fallback_resolvers`. |
| 292 |
- Source URLs are now randomized. |
| 293 |
- On some platforms, redirecting the application log to a file was not |
| 294 |
compatible with user switching; this has been fixed. |
| 295 |
- `fallback_resolvers` was renamed to `bootstrap_resolvers` for |
| 296 |
clarity. Please update your configuration file accordingly. |
| 297 |
|
| 298 |
# Version 2.0.45 |
| 299 |
- Configuration changes (to be required in versions 2.1.x): |
| 300 |
* `[blacklist]` has been renamed to `[blocked_names]` |
| 301 |
* `[ip_blacklist]` has been renamed to `[blocked_ips]` |
| 302 |
* `[whitelist]` has been renamed to `[allowed_names]` |
| 303 |
* `generate-domains-blacklist.py` has been renamed to |
| 304 |
`generate-domains-blocklist.py`, and the configuration files have been |
| 305 |
renamed as well. |
| 306 |
- `dnscrypt-proxy -resolve` has been completely revamped, and now requires |
| 307 |
the configuration file to be accessible. It will send a query to an IP address |
| 308 |
of the `dnscrypt-proxy` server by default. Sending queries to arbitrary |
| 309 |
servers is also supported with the new `-resolve name,address` syntax. |
| 310 |
- Relay lists can be set to `*` for automatic relay selection. When a wildcard |
| 311 |
is used, either for the list of servers or relays, the proxy ensures that |
| 312 |
relays and servers are on distinct networks. |
| 313 |
- Lying resolvers are detected and reported. |
| 314 |
- New return code: `NOT_READY` for queries received before the proxy has |
| 315 |
been initialized. |
| 316 |
- Server lists can't be older than a week any more, even if directory |
| 317 |
permissions are incorrect and cache files cannot be written. |
| 318 |
- macOS/arm64 is now officially supported. |
| 319 |
- New feature: `allowed_ips`, to configure a set of IP addresses to |
| 320 |
never block no matter what DNS name resolves to them. |
| 321 |
- Hard-coded IP addresses can be immediately returned for test queries |
| 322 |
sent by operating systems in order to check for connectivity and captive |
| 323 |
portals. Such responses can be sent even before an interface is considered |
| 324 |
as enabled by the operating system. This can be configured in a new section |
| 325 |
called `[captive_portals]`. |
| 326 |
- On Linux, OpenBSD and FreeBSD, `listen_addresses` can now include IP |
| 327 |
addresses that haven't been assigned to an interface yet. |
| 328 |
- The logo has been tweaked to look fine on a dark background. |
| 329 |
- `generate-domains-blocklist.py`: regular expressions are now ignored in |
| 330 |
time-based entries. |
| 331 |
- Minor bug fixes and logging improvements. |
| 332 |
- Cloaking plugin: if an entry has multiple IP addresses for a type, |
| 333 |
all the IP addresses are now returned instead of a random one. |
| 334 |
- Static entries can now include DNSCrypt relays. |
| 335 |
- Name blocking: aliases relying on `SVCB` and `HTTPS` records can now |
| 336 |
be blocked in addition to aliases via regular `CNAME` records. |
| 337 |
- EDNS-Client-Subnet information can be added to outgoing queries. |
| 338 |
Instead of sending the actual client IP, ECS information is user |
| 339 |
configurable, and IP addresses will be randomly chosen for every query. |
| 340 |
- Initial DoH queries are now checked using random names in order to |
| 341 |
properly measure CDNs such as Tencent that ignore the padding. |
| 342 |
- DoH: the `max-stale` cache control directive is now present in queries. |
| 343 |
- Logs can now be sent to `/dev/stdout` instead of actual files. |
| 344 |
- User switching is now supported on macOS. |
| 345 |
- New download mirror (https://download.dnscrypt.net) for resolvers, |
| 346 |
relays and parental-control. |
| 347 |
|
| 348 |
Thanks to the nice people who contributed to this release: |
| 349 |
|
| 350 |
- Ian Bashford |
| 351 |
- Will Elwood |
| 352 |
- Alison Winters |
| 353 |
- Krish De Souza |
| 354 |
- @hugepants |
| 355 |
- @IceCodeNew |
| 356 |
- @lifenjoiner |
| 357 |
- @mibere |
| 358 |
- @jacob755 |
| 359 |
- @petercooperjr |
| 360 |
- @yofiji |
| 361 |
|
| 362 |
# Version 2.0.44 |
| 363 |
- More updates to the set of block lists, thanks again to IceCodeNew. |
| 364 |
- Netprobes and listening sockets are now ignored when the `-list`, |
| 365 |
`-list-all`, `-show-certs` or `-check` command-line switches are used. |
| 366 |
- `tls_client_auth` was renamed to `doh_client_x509_auth`. A section |
| 367 |
with the previous name is temporarily ignored if empty, but will error |
| 368 |
out if not. |
| 369 |
- Unit tests are now working on 32-bit systems. Thanks to Will Elwood |
| 370 |
and @lifenjoiner. |
| 371 |
|
| 372 |
# Version 2.0.43 |
| 373 |
- Built-in support for DNS64 translation has been implemented. |
| 374 |
(Contributed by Sergey Smirnov, thanks!) |
| 375 |
- Connections to DoH servers can be authenticated using TLS client |
| 376 |
certificates (Contributed by Kevin O'Sullivan, thanks!) |
| 377 |
- Multiple stamps are now allowed for a single server in resolvers |
| 378 |
and relays lists. |
| 379 |
- Android: the time zone for log files is now set to the system |
| 380 |
time zone. |
| 381 |
- Quite a lot of updates and additions have been made to the |
| 382 |
example domain block lists. Thanks to `IceCodeNew`! |
| 383 |
- Cached configuration files can now be temporarily used if |
| 384 |
they are out of date, but bootstraping is impossible. Contributed by |
| 385 |
`lifenjoiner`, thanks! |
| 386 |
- Precompiled macOS binaries are now notarized. |
| 387 |
- `generate-domains-blacklists` now tries to deduplicate entries |
| 388 |
clobbered by wildcard rules. Thanks to `Huhni`! |
| 389 |
- `generate-domains-blacklists` can now directly write lists to a |
| 390 |
file with the `-o` command-line option. |
| 391 |
- cache files are now downloaded as the user the daemon will be running |
| 392 |
as. This fixes permission issues at startup time. |
| 393 |
- Forwarded queries are now subject to global timeouts, and can be |
| 394 |
forced to use TCP. |
| 395 |
- The `ct` parameter has been removed from DoH queries, as Google doesn't |
| 396 |
require it any more. |
| 397 |
- Service installation is now supported on FreeBSD. |
| 398 |
- When stored into a file, service logs now only contain data from the most |
| 399 |
recent launch. This can be changed with the new `log_file_latest` option. |
| 400 |
- Breaking change: the `tls_client_auth` section was renamed to |
| 401 |
`doh_client_x509_auth`. If you had a tls_client_auth section in the |
| 402 |
configuration file, it needs to be updated. |
| 403 |
|
| 404 |
# Version 2.0.42 |
| 405 |
- The current versions of the `dnsdist` load balancer (presumably used |
| 406 |
by quad9, cleanbrowsing, qualityology, freetsa.org, ffmuc.net, |
| 407 |
opennic-bongobow, sth-dnscrypt-se, ams-dnscrypt-nl and more) |
| 408 |
is preventing queries over 1500 bytes from being received over UDP. |
| 409 |
Temporary workarounds have been introduced to improve reliability |
| 410 |
with these resolvers for regular DNSCrypt. Unfortunately, anonymized |
| 411 |
DNS cannot be reliable until the issue is fixed server-side. `dnsdist` |
| 412 |
authors are aware of it and are working on a fix. |
| 413 |
- New option in the `[anonymized_dns]` section: `skip_incompatible`, |
| 414 |
to ignore resolvers incompatible with Anonymized DNS instead of |
| 415 |
using them without a relay. |
| 416 |
- The server latency benchmark is faster while being able to perform |
| 417 |
more retries if necessary. |
| 418 |
- Continuous integration has been moved to GitHub Actions. |
| 419 |
|
| 420 |
# Version 2.0.41 |
| 421 |
- Precompiled ARM binaries are compatible with ARMv5 CPUs. The |
| 422 |
default arm builds were not compatible with older CPUs when compiled |
| 423 |
with Go 1.14. mips64 binaries are explicitly compiled with `softfloat` |
| 424 |
to improve compatibility. |
| 425 |
- Quad9 seems to be only blocking fragmented queries over UDP for |
| 426 |
some networks. They have been removed from the default list of broken |
| 427 |
resolvers; runtime detection of support for fragments should now do |
| 428 |
the job. |
| 429 |
- Runtime detection of support for fragments was actually enabled. |
| 430 |
|
| 431 |
# Version 2.0.40 |
| 432 |
- Servers blocking fragmented queries are now automatically detected. |
| 433 |
- The server name is now only present in query logs when an actual |
| 434 |
upstream servers was required to resolve a query. |
| 435 |
- TLS client authentication has been added for DoH. |
| 436 |
- The Firefox plugin is now skipped for connections coming from the |
| 437 |
local DoH server. |
| 438 |
- DoH RTT computation is now more accurate, especially when CDNs are |
| 439 |
in the middle. |
| 440 |
- The forwarding plugin is now more reliable, and handles retries over |
| 441 |
TCP. |
| 442 |
|
| 443 |
# Version 2.0.39 |
| 444 |
- The Firefox Local DoH service didn't properly work in version 2.0.38; |
| 445 |
this has been fixed. Thanks to Simon Brand for the report! |
| 446 |
|
| 447 |
# Version 2.0.38 |
| 448 |
- Entries from lists (forwarding, blacklists, whitelists) now support |
| 449 |
inline comments. |
| 450 |
- Reliability improvement: queries over UDP are retried after a timeout |
| 451 |
instead of solely relying on the client. |
| 452 |
- Reliability improvement: during temporary network outages, cached records |
| 453 |
are now served even if they are stale. |
| 454 |
- Bug fix: SOCKS proxies and DNS relays can be combined. |
| 455 |
- New feature: multiple fallback resolvers are now supported (see the |
| 456 |
new `fallback_resolvers` option. Note that `fallback_resolver` is |
| 457 |
still supported for backward compatibility). |
| 458 |
- Windows: the service can be installed with a configuration file |
| 459 |
stored separately from the application. |
| 460 |
- Security (affecting DoH): precompiled binaries of dnscrypt-proxy 2.0.37 are |
| 461 |
built using Go 1.13.7 that fixes a TLS certificate parsing issue present in |
| 462 |
previous versions of the compiler. |
| 463 |
|
| 464 |
# Version 2.0.36 |
| 465 |
- New option: `block_undelegated`. When enabled, `dnscrypt-proxy` will |
| 466 |
directly respond to queries for locally-served zones (https://sk.tl/2QqB971U) |
| 467 |
and nonexistent zones that should have been kept local, but are frequently |
| 468 |
leaked. This reduces latency and improves privacy. |
| 469 |
- Conformance: the `DO` bit is now set in synthetic responses if it was |
| 470 |
set in a question, and the `AD` bit is cleared. |
| 471 |
- The `miegkg/dns` module was updated to version 1.1.26, that fixes a |
| 472 |
security issue affecting non-encrypted/non-authenticated DNS traffic. In |
| 473 |
`dnscrypt-proxy`, this only affects the forwarding feature. |
| 474 |
|
| 475 |
# Version 2.0.35 |
| 476 |
- New option: `block_unqualified` to block `A`/`AAAA` queries with |
| 477 |
unqualified host names. These will very rarely get an answer from upstream |
| 478 |
resolvers, but can leak private information to these, as well as to root |
| 479 |
servers. |
| 480 |
- When a `CNAME` pointer is blocked, the original query name is now logged |
| 481 |
along with the pointer. This makes it easier to know what the original |
| 482 |
query name, so it can be whitelisted, or what the pointer was, so it |
| 483 |
can be removed from the blacklist. |
| 484 |
|
| 485 |
# Version 2.0.34 |
| 486 |
- Blacklisted names are now also blocked if they appear in `CNAME` |
| 487 |
pointers. |
| 488 |
- `dnscrypt-proxy` can now act as a local DoH *server*. Firefox can |
| 489 |
be configured to use it, so that ESNI can be enabled without bypassing |
| 490 |
your DNS proxy. |
| 491 |
|
| 492 |
# Version 2.0.33 |
| 493 |
- Fixes an issue that caused some valid queries to return `PARSE_ERROR`. |
| 494 |
|
| 495 |
# Version 2.0.32 |
| 496 |
- On certificate errors, the server name is now logged instead of the |
| 497 |
provider name, which is generally more useful. |
| 498 |
- IP addresses for DoH servers that require DNS lookups are now cached |
| 499 |
for at least 12 hours. |
| 500 |
- `ignore_system_dns` is now set to `true` by default. |
| 501 |
- A workaround for a bug in Cisco servers has been implemented. |
| 502 |
- A corrupted or incomplete resolvers list is now ignored, keeping the |
| 503 |
last good known cached list until the next update. In addition, logging was |
| 504 |
improved and unit tests were also added. Awesome contribution from William |
| 505 |
Elwood, thanks! |
| 506 |
- On Windows, the network probe immediately returned instead of blocking |
| 507 |
if `netprobe_timeout` was set to `-1`. This has been fixed. |
| 508 |
- Expired cached IP addresses now have a grace period, to avoid breaking the |
| 509 |
service if they temporarily can't be refreshed. |
| 510 |
- On Windows, the service now returns immediately, solving a long-standing |
| 511 |
issue when initialization took more than 30 seconds ("The service did not |
| 512 |
respond to the start or control request in a timely fashion"). Fantastic |
| 513 |
work by Alison Winters, thanks! |
| 514 |
- The `SERVER_ERROR` error code has been split into two new error codes: |
| 515 |
`NETWORK_ERROR` (self-explanatory) and `SERVFAIL` (a response was returned, |
| 516 |
but it includes a `SERVFAIL` error code). |
| 517 |
- Responses are now always compressed. |
| 518 |
|
| 519 |
# Version 2.0.31 |
| 520 |
- This version fixes two regressions introduced in version 2.0.29: |
| 521 |
DoH server couldn't be reached over IPv6 any more, and the proxy |
| 522 |
couldn't be interrupted while servers were being benchmarked. |
| 523 |
|
| 524 |
# Version 2.0.30 |
| 525 |
- This version fixes a startup issue introduced in version 2.0.29, |
| 526 |
on systems for which the service cannot be automatically installed |
| 527 |
(such as OpenBSD and FreeBSD). Reported by @5ch17 and VinÃcius Zavam, |
| 528 |
and fixed by Will Elwood, thanks! |
| 529 |
|
| 530 |
# Version 2.0.29 |
| 531 |
- Support for Anonymized DNS has been added! |
| 532 |
- Wait before stopping, fixing an issue with Unbound (thanks to |
| 533 |
Vladimir Bauer) |
| 534 |
- DNS stamps are now included in the -list-all -json ouptut |
| 535 |
- The netprobe_timeout setting from the configuration file or |
| 536 |
command-line was ignored. This has been fixed. |
| 537 |
- The TTL or cloaked entries can now be adjusted (thanks to Markus |
| 538 |
Linnala) |
| 539 |
- Cached IP address from DoH servers now expire (thanks to Markus |
| 540 |
Linnala) |
| 541 |
- DNSCrypt certificates can be fetched over Tor and SOCKS proxies |
| 542 |
- Retries over TCP are faster |
| 543 |
- Improved logging (thanks to Alison Winters) |
| 544 |
- Ignore non-TXT records in certificate responses (thanks to Vladimir |
| 545 |
Bauer) |
| 546 |
- A lot of internal cleanups, thanks to Markus Linnala. |
| 547 |
|
| 548 |
# Version 2.0.28 |
| 549 |
- Invalid server entries are now skipped instead of preventing a |
| 550 |
source from being used. Thanks to Alison Winters for the contribution! |
| 551 |
- Truncated responses are immediately retried over TCP instead of |
| 552 |
waiting for the client to retry. This reduces the latency for large |
| 553 |
responses. |
| 554 |
- Responses sent to the local network are assumed to support at least |
| 555 |
1252 bytes packets, and use optional information from EDNS up to 4096 |
| 556 |
bytes. This also reduces latency. |
| 557 |
- Logging improvements: servers are not logged for cached, synthetic |
| 558 |
and cloaked responses. And the forwarder is logged instead of the |
| 559 |
regular server for forwarded responses. |
| 560 |
|
| 561 |
# Version 2.0.27 |
| 562 |
- The X25519 implementation was changed from using the Go standard |
| 563 |
implementation to using Cloudflare's CIRCL library. Unfortunately, |
| 564 |
CIRCL appears to be broken on big-endian systems. That change has been |
| 565 |
reverted. |
| 566 |
- All the dependencies have been updated. |
| 567 |
|
| 568 |
# Version 2.0.26 |
| 569 |
- A new plugin was added to prevent Firefox from bypassing the system |
| 570 |
DNS settings. |
| 571 |
- New configuration parameter to set how to respond to blocked |
| 572 |
queries: `blocked_query_response`. Responses can now be empty record |
| 573 |
sets, REFUSED response codes, or predefined IPv4 and/or IPv6 addresses. |
| 574 |
- The `refused_code_in_responses` and `blocked_query_response` options |
| 575 |
have been folded into a new `blocked_query_response` option. |
| 576 |
- The fallback resolver is now accessed using TCP if `force_tcp` has |
| 577 |
been set to `true`. |
| 578 |
- CPU usage when enabling DNSCrypt ephemeral keys has been reduced. |
| 579 |
- New command-line option: `-show-certs` to print DoH certificate |
| 580 |
hashes. |
| 581 |
- Solaris packages are now provided. |
| 582 |
- DoH servers on a non-standard port, with stamps that don't include |
| 583 |
IP addresses, and without working system resolvers can now be properly |
| 584 |
bootstrapped. |
| 585 |
- A new option, `query_meta`, is now available to add optional records |
| 586 |
to client queries. |
| 587 |
|
| 588 |
# Version 2.0.25 |
| 589 |
- The example IP address for network probes didn't work on Windows. |
| 590 |
The example configuration file has been updated and the fallback |
| 591 |
resolver IP is now used when no netprobe address has been configured. |
| 592 |
|
| 593 |
# Version 2.0.24 |
| 594 |
- The query log now includes the time it took to complete the |
| 595 |
transaction, the name of the resolver that sent the response and if |
| 596 |
the response was served from the cache. Thanks to Ferdinand Holzer for |
| 597 |
his help! |
| 598 |
- The list of resolvers, sorted by latency, is now printed after all |
| 599 |
the resolvers have been probed. |
| 600 |
- The "fastest" load-balancing strategy has been renamed to "first". |
| 601 |
- On Windows, a nul byte is sent to the netprobe address. This is |
| 602 |
required to check for connectivity on this platform. Thanks to Mathias |
| 603 |
Berchtold. |
| 604 |
- The Malwaredomainlist URL was updated to directly parse the host |
| 605 |
list. Thanks to Encrypted.Town. |
| 606 |
- The Python script to generate lists of blacklisted domains is now |
| 607 |
compatible both with Python 2 and Python 3. Thanks to Simon R. |
| 608 |
- A warning is now displayed for DoH is requested but the server |
| 609 |
doesn't speak HTTP/2. |
| 610 |
- A crash with loaded-balanced sets of cloaked names was fixed. |
| 611 |
Thanks to @inkblotadmirer for the report. |
| 612 |
- Resolvers are now tried in random order to avoid favoring the first |
| 613 |
ones at startup. |
| 614 |
|
| 615 |
# Version 2.0.23 |
| 616 |
- Binaries for FreeBSD/armv7 are now available. |
| 617 |
- .onion servers are now automatically ignored if Tor routing is not |
| 618 |
enabled. |
| 619 |
- Caching of server addresses has been improved, especially when |
| 620 |
using proxies. |
| 621 |
- DNSCrypt communications are now automatically forced to using TCP |
| 622 |
when a SOCKS proxy has been set up. |
| 623 |
|
| 624 |
# Version 2.0.22 |
| 625 |
- The previous version had issues with the .org TLD when used in |
| 626 |
conjunction with dnsmasq. This has been fixed. |
| 627 |
|
| 628 |
# Version 2.0.21 |
| 629 |
- The change to run the Windows service as `NT AUTHORITY\NetworkService` |
| 630 |
has been reverted, as it was reported to break logging (Windows only). |
| 631 |
|
| 632 |
# Version 2.0.20 |
| 633 |
- Startup is now *way* faster, especially when using DoH servers. |
| 634 |
- A new action: `CLOAK` is logged when queries are being cloaked. |
| 635 |
- A cloaking rule can now map to multiple IPv4 and IPv6 addresses, |
| 636 |
with load-balancing. |
| 637 |
- New option: `refused_code_in_responses` to return (or not) a |
| 638 |
`REFUSED` code on blacklisted queries. This is disabled by default, in |
| 639 |
order to work around a bug in Android Pie. |
| 640 |
- Time-based restrictions are now properly handled in the |
| 641 |
generate-domains-blacklist.py script. |
| 642 |
- Other improvements have been made to the `generate-domains-blacklist.py` |
| 643 |
script. |
| 644 |
- The Windows service is now installed as `NT AUTHORITY\NetworkService`. |
| 645 |
|
| 646 |
# Version 2.0.19 |
| 647 |
- The value for `netprobe_timeout` was read from the command-line, but |
| 648 |
not from the configuration file any more. This is a regression introduced |
| 649 |
in the previous version, that has been fixed. |
| 650 |
- The default value for netprobe timeouts has been raised to 60 seconds. |
| 651 |
- A hash of the body is added to query parameters when sending DoH |
| 652 |
queries with the POST method in order to work around badly configured |
| 653 |
proxies. |
| 654 |
|
| 655 |
# Version 2.0.18 |
| 656 |
- Official builds now support TLS 1.3. |
| 657 |
- The timeout for the initial connectivity check can now be set from |
| 658 |
the command line. |
| 659 |
- An `Accept:` header is now always sent with `GET` queries. |
| 660 |
- BOMs are now ignored in configuration files. |
| 661 |
- In addition to SOCKS, HTTP and HTTPS proxies are now supported for |
| 662 |
DoH servers. |
| 663 |
|
| 664 |
# Version 2.0.17 |
| 665 |
- Go >= 1.11 is now supported |
| 666 |
- The flipside is that Windows XP is not supported any more :( |
| 667 |
- When dropping privileges, there is no supervisor process any more. |
| 668 |
- DNS options used to be cleared from DNS queries, with the exception |
| 669 |
of flags and payload sizes. This is not the case any more. |
| 670 |
- DoH queries are smaller, since workarounds are not required any more |
| 671 |
after Google updated their implementation. |
| 672 |
|
| 673 |
# Version 2.0.16 |
| 674 |
- On Unix-like systems, the server can run as an unprivileged user, |
| 675 |
and the main process will automatically restart if an error occurs. |
| 676 |
- pledge() on OpenBSD. |
| 677 |
- New "offline" mode to serve queries locally without contacting any |
| 678 |
upstream servers. This can be especially useful along with the |
| 679 |
cloaking module for local development. |
| 680 |
- New logo. |
| 681 |
- TTL of OPT records is properly ignored by the caching module. |
| 682 |
- The proxy doesn't quit any more if new TCP connections cannot be |
| 683 |
created. |
| 684 |
|
| 685 |
# Version 2.0.15 |
| 686 |
- Support for proxies (HTTP/SOCKS) was added. All it takes to route |
| 687 |
all TCP queries to Tor is add `proxy = "socks5://127.0.0.1:9050"` to |
| 688 |
the configuration file. |
| 689 |
- Querylog files have a new record indicating the outcome of each |
| 690 |
transaction. |
| 691 |
- Pre-built binaries for Linux are statically linked on all |
| 692 |
architectures. |
| 693 |
|
| 694 |
# Version 2.0.14 |
| 695 |
- Supports DNS-over-HTTPS draft 08. |
| 696 |
- Netprobes don't use port 0 by default, as this causes issues with |
| 697 |
Little Snitch and FreeBSD. |
| 698 |
|
| 699 |
# Version 2.0.13 |
| 700 |
- This version fixes a crash when using DoH for queries whose size |
| 701 |
were a multiple of the block size. Reported by @char101, thanks! |
| 702 |
|
| 703 |
# Version 2.0.12 |
| 704 |
- Further compatibility fixes for Alpine Linux/i386 and Android/i386 |
| 705 |
have been made. Thanks to @aead for his help! |
| 706 |
- The proxy will now wait for network connectivity before starting. |
| 707 |
This is useful if the proxy is automatically started at boot, possibly |
| 708 |
before the network is fully configured. |
| 709 |
- The IPv6 blocking module now returns synthetic SOA records to |
| 710 |
improve compatibility with downstream resolvers and stub resolvers. |
| 711 |
|
| 712 |
# Version 2.0.11 |
| 713 |
- This release fixes a long-standing bug that caused the proxy to |
| 714 |
block or crash when Position-Independent Executables were produced. |
| 715 |
This bug only showed up when compiled on (not for) Alpine Linux and |
| 716 |
Android, for some CPU architectures. |
| 717 |
- New configuration settings: cache_neg_min_ttl and |
| 718 |
cache_neg_max_ttl, to clamp the negative caching TTL. |
| 719 |
|
| 720 |
# Version 2.0.10 |
| 721 |
- This version fixes a crash when an incomplete size is sent by a |
| 722 |
local client for a query over TCP. |
| 723 |
- Slight performance improvement of DNSCrypt on non-Intel CPUs such |
| 724 |
as Raspberry Pi. |
| 725 |
|
| 726 |
# Version 2.0.9 |
| 727 |
- Whitelists have been implemented: one a name matches a pattern in |
| 728 |
the whitelist, rules from the name-based and IP-based blacklists will |
| 729 |
be bypassed. Whitelists support the same patterns as blacklists, as |
| 730 |
well as time-based rules, so that some website can be normally |
| 731 |
blocked, but accessible on specific days or times of the day. |
| 732 |
- Lists are now faster to load, and large lists require significantly |
| 733 |
less memory than before. |
| 734 |
- New options have been added to disable TLS session tickets as well |
| 735 |
as use a specific cipher suite. See the example configuration file for |
| 736 |
a recommended configuration to speed up DoH servers on ARM such as |
| 737 |
Android devices and Raspberry Pi. |
| 738 |
- The `-service install` command now remembers what the current |
| 739 |
directory was when the service was installed, in order to later load |
| 740 |
configuration files with relative paths. |
| 741 |
- DoH: The "Cache-Control: max-age" header is now ignored. |
| 742 |
- Patterns can now be prefixed with `=` to do exact matching: |
| 743 |
`=example.com` matches `example.com` but will not match `www.example.com`. |
| 744 |
- Patterns are now fully supported by the cloaking module. |
| 745 |
- A new option was added to use a specific cipher suite instead of |
| 746 |
the server's provided one. Using RSA+ChaChaPoly over ECDSA+AES-GCM has |
| 747 |
shown to decrease CPU usage and latency when connecting to Cloudflare, |
| 748 |
especially on Mips and ARM systems. |
| 749 |
- The ephemeral keys mode of dnscrypt-proxy v1.x was reimplemented: this |
| 750 |
creates a new unique key for every single query. |
| 751 |
|
| 752 |
# Version 2.0.8 |
| 753 |
- Multiple URLs can be defined for a source in order to improve |
| 754 |
resiliency when servers are temporarily unreachable. |
| 755 |
- Connections over IPv6 will be preferred over IPv4 for DoH servers |
| 756 |
when using a fallback resolver if `ipv6_servers` is set. |
| 757 |
- Improvements have been made to the example systemd configuration |
| 758 |
files. |
| 759 |
- The chacha20 implementation was updated to possibly fix a bug on |
| 760 |
Android/x86. |
| 761 |
- `generate-domains-blacklist.py` can now parse dnsmasq-style rules. |
| 762 |
- FreeBSD/arm builds have been added. |
| 763 |
- `dnscrypt-proxy -list -json` and `-list-all -json` now include the |
| 764 |
remove servers names and IP addresses. |
| 765 |
|
| 766 |
# Version 2.0.7 |
| 767 |
- Bug fix: optional ports were not properly parsed with IPv6 |
| 768 |
addresses -- thanks to @bleeee for the report and fix. |
| 769 |
- Bug fix: truncate TCP queries to the prefixed length. |
| 770 |
- Certificates are force-refreshed after a time jump (e.g. when a |
| 771 |
system resumes from hibernation). |
| 772 |
|
| 773 |
# Version 2.0.6 |
| 774 |
- Automatic log files rotation was finally implemented. |
| 775 |
- A new -pidfile command-line option to write the PID file was added. |
| 776 |
|
| 777 |
# Version 2.0.5 |
| 778 |
- Fixes a crash occasionally happening when using DoH servers, with |
| 779 |
stamps not containing any IP addresses, a DNSSEC-signed name, a |
| 780 |
non-working system DNS configuration, and a fallback server supporting |
| 781 |
DNSSEC. |
| 782 |
|
| 783 |
# Version 2.0.4 |
| 784 |
- Fixes a regression with truncated packets. Thanks to @mazesy and |
| 785 |
@the-w1nd for spotting a case triggering this! |
| 786 |
|
| 787 |
# Version 2.0.3 |
| 788 |
- Load balancing: resolvers that respond promptly, but with bogus |
| 789 |
responses are now gradually removed from the preferred pool. |
| 790 |
- Due to popular request, Android binaries are now available! Thanks |
| 791 |
to @sporif for his help on getting these built. |
| 792 |
- Binaries are built using Go 1.10-final. |
| 793 |
|
| 794 |
# Version 2.0.2 |
| 795 |
- Properly error out on FreeBSD and other platforms where built-in |
| 796 |
service installation is not supported yet. |
| 797 |
- Improved load-balancing algorithm, which should result in lower |
| 798 |
latency. |
| 799 |
|
| 800 |
# Version 2.0.1 |
| 801 |
- Cached source data were not redownloaded if the proxy was used |
| 802 |
without interruption. This has been fixed. |
| 803 |
- If the network is down at startup time, fall back to cached source |
| 804 |
data, even if is it out of date, and schedule an immediate update |
| 805 |
after the networks is back. |
| 806 |
- RTT estimation for DNS-over-HTTP/2 servers was off. This has been |
| 807 |
fixed. |
| 808 |
- The generate-domains-blacklist script now has a configurable |
| 809 |
timeout value, and can produce time-based rules. |
| 810 |
- The timeout parameter in the example configuration file didn't had |
| 811 |
the correct name; this has been fixed. |
| 812 |
- Cache: TTLs are now decreasing. |