diff --git a/DNSCrypt-2.0.md b/DNSCrypt-2.0.md index c9272ef..1195071 100644 --- a/DNSCrypt-2.0.md +++ b/DNSCrypt-2.0.md @@ -8,12 +8,14 @@ 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. * 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 `: extract prebuilt binary -* `cd linux_x86-64`: cd into extracted dir +* `tar -xf `: extract prebuilt binary +* `cp linux_x86-64 dnscrypt-proxy`: rename the extracted folder +* `rm -r linux_x86-64`: rename the extracted folder +* `cd dnscrypt-proxy`: cd into extracted dir * `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. +* `sudo nano 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 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 `require_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 start`: start the new service