Skip to content

Commit ee63699

Browse files
authored
Merging DNSCrypt 2.1.15 testing branch commits into master branch
Updating master branch to DNScrypt 2.1.15 proxy. Also enabled DNS caching to improve latency.
2 parents 14d44ea + 5d687d0 commit ee63699

4 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v2
2727

2828
- name: Setup default version
29-
run: echo "DNSCRYPT_PROXY_VERSION=2.1.14" >> $GITHUB_ENV
29+
run: echo "DNSCRYPT_PROXY_VERSION=2.1.15" >> $GITHUB_ENV
3030
if: ${{ env.DNSCRYPT_PROXY_VERSION == '' }}
3131

3232
- name: Setup Docker buildx

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM golang:alpine as build
2-
ENV RELEASE_TAG 2.1.14
2+
ENV RELEASE_TAG 2.1.15
33
RUN apk --no-cache add git && \
44
git clone https://github.com/jedisct1/dnscrypt-proxy /go/src/github.com/jedisct1/ && \
55
cd /go/src/github.com/jedisct1/dnscrypt-proxy && \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
This is a Docker image containing [DNSCrypt Proxy 2.x](https://github.com/jedisct1/dnscrypt-proxy). You can use this to set up a DNS proxy on your local network which resolves queries using DNSCrypt or DNS-over-HTTPS (DoH) rather than sending plaintext DNS queries over the Internet.
66

77
This image comes with a configuration which:
8-
- [x] Runs DNScrypt-proxy 2.1.14
8+
- [x] Leverages caching for lower latency
9+
- [x] Runs DNScrypt-proxy 2.1.15
910
- [x] Queries via DNS-over-HTTPS (DoH) and DNSCrypt
1011
- [x] Posits DNSSEC enabled, no logging, no filtering servers
1112
- [x] Listens on all interfaces

config/dnscrypt-proxy.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,27 +202,32 @@ block_ipv6 = true
202202

203203
## Enable a DNS cache to reduce latency and outgoing traffic
204204

205-
cache = false
205+
cache = true
206206

207207

208208
## Cache size
209209

210-
cache_size = 4096
210+
cache_size = 65536
211211

212212

213213
## Minimum TTL for cached entries
214214

215-
cache_min_ttl = 2400
215+
cache_min_ttl = 300
216216

217217

218218
## Maximum TTL for cached entries
219219

220-
cache_max_ttl = 86400
220+
cache_max_ttl = 3600
221221

222222

223-
## TTL for negatively cached entries
223+
## Minimum TTL for negatively cached entries
224224

225-
cache_neg_ttl = 60
225+
cache_neg_min_ttl = 5
226+
227+
228+
## Maximum TTL for negatively cached entries
229+
230+
cache_neg_max_ttl = 120
226231

227232

228233

0 commit comments

Comments
 (0)