1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/dnscrypt/proxy
2023-04-08 11:34:11 +08:00
..
data update dnscrypt-proxy 2023-04-07 23:27:20 +08:00
docker-compose.yml update dns 2023-04-08 11:34:11 +08:00
Dockerfile update dnscrypt-proxy 2023-04-07 23:27:20 +08:00
README.md update dnscrypt-proxy 2023-04-07 23:27:20 +08:00

dnscrypt-proxy

dnscrypt-proxy is a flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2, DNS-over-HTTPS, Anonymized DNSCrypt and ODoH (Oblivious DoH).

up and running

$ mkdir -p data
$ wget -O data/dnscrypt-proxy.toml https://github.com/DNSCrypt/dnscrypt-proxy/raw/master/dnscrypt-proxy/example-dnscrypt-proxy.toml
$ vim data/dnscrypt-proxy.toml
$ docker-compose up -d
$ dig @127.0.0.1 www.youtube.com

forwarding_rules

$ wget -P data https://github.com/felixonmars/dnsmasq-china-list/raw/master/accelerated-domains.china.conf
$ cat data/accelerated-domains.china.conf | sed -e 's@^server=/\(.*\)/@\1\t@' | column -t > data/forwarding-rules.txt