1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-07-08 11:01:34 +00:00
dockerfiles/dnscrypt/proxy/README.md

27 lines
851 B
Markdown
Raw Normal View History

2022-02-17 08:09:23 +00:00
dnscrypt-proxy
==============
[dnscrypt-proxy][1] 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
```bash
$ 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
```
2023-04-07 15:27:20 +00:00
## [forwarding_rules][2]
```bash
$ 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
```
2022-02-17 08:09:23 +00:00
[1]: https://github.com/DNSCrypt/dnscrypt-proxy
2023-04-07 15:27:20 +00:00
[2]: https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Forwarding