Updated DNSCrypt 2.0 (markdown)

Frank Denis 2018-02-10 14:37:29 +01:00
parent 7114c3b134
commit 67d359e8e3

@ -1,4 +1,4 @@
This can probably replace the DNSCrypt page, but leaving it for archive purposes until DNSCrypt 2.0 instructions are fully fledged out. This can probably replace the DNSCrypt page, but leaving it for archive purposes until dnscrypt-proxy 2.0 instructions are fully fledged out.
# DNSCrypt-Proxy 2.0 # DNSCrypt-Proxy 2.0
@ -8,11 +8,11 @@ This can probably replace the DNSCrypt page, but leaving it for archive purposes
* `mkdir -p /dnsproxy`: (this is just a folder to store everything. Pihole instructions have this on the root of the partition, but should work from anywhere), suggest opt or etc. * `mkdir -p /dnsproxy`: (this is just a folder to store everything. Pihole instructions have this on the root of the partition, but should work from anywhere), suggest opt or etc.
* Download [latest](https://github.com/jedisct1/dnscrypt-proxy/releases/latest) pre-built binary. I'm using Debian, so I used `linux_x86_64`. There is a binary for arm. * Download [latest](https://github.com/jedisct1/dnscrypt-proxy/releases/latest) pre-built binary. I'm using Debian, so I used `linux_x86_64`. There is a binary for arm.
* `tar -xf <filename_linux_x86_64.tar.gz>`: extract prebuilt binary * `tar xf <filename_linux_x86_64.tar.gz>`: extract prebuilt binary
* `cd linux_x86-64`: cd into extracted dir * `cd linux_x86-64`: cd into extracted dir
* `cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml` * `cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml`
* `nano/vi dnscrypt-proxy.toml`: Edit the toml file. This is where all the fancy configuration happens. * `nano/vi dnscrypt-proxy.toml`: Edit the toml file. This is where all the fancy configuration happens.
* Edit port to be something other than 53 (since 53 is being used by Pi-Hole). This is the listen_addresses line. Change both IPv4 and IPv6 as desired. * Edit port to be something other than `53` (since `53` is being used by Pi-Hole). This is the `listen_addresses` line. Change both IPv4 and IPv6 as desired.
* Edit other settings as desired. I set `dnssec` to be `true`. There are a lot of other options, but server selection and more is already done. * Edit other settings as desired. I set `dnssec` to be `true`. There are a lot of other options, but server selection and more is already done.
* `dnscrypt-proxy -service install`: install dnscrypt-proxy service * `dnscrypt-proxy -service install`: install dnscrypt-proxy service
* `dnscrypt-proxy -service start`: start the new service * `dnscrypt-proxy -service start`: start the new service