Updated DNSCrypt 2.0 (markdown)

Frank Denis 2018-10-06 14:58:15 +02:00
parent f219b49b7f
commit 1a144af6c1

@ -12,7 +12,7 @@ This can probably replace the DNSCrypt page, but leaving it for archive purposes
* `cd dnscrypt-proxy`: cd into extracted dir
* `cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml`: Create a configuration file based on the example one
* `sudo nano dnscrypt-proxy.toml`: Edit the toml file. This is where all the fancy configuration happens.
* In the `listen_addresses` line, edit port to be something other than `53` (since `53` is being used by Pi-Hole). I'll use port 5353 in this example. You can also change both IPv4 and IPv6 as desired.
* In the `listen_addresses` line, edit port to be something other than `53` (since `53` is being used by Pi-Hole). I'll use port 5300 in this example. You can also change both IPv4 and IPv6 as desired.
* 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. If you want to specify the server(s) you want to use, look at [this site](https://dnscrypt.info/public-servers).
* `sudo ./dnscrypt-proxy -service install`: install dnscrypt-proxy service
* `sudo ./dnscrypt-proxy -service start`: start the new service
@ -35,7 +35,7 @@ If you're running a new version of Pi-Hole FTLDNS, all custom DNS fields can now
If you're running an older version of Pi-Hole, then follow these instructions:
* `sudo nano /etc/dnsmasq.d/02-dnscrypt.conf`: Create new or edit existing conf.
* Change `server=<IP>#<port>` where `dnscrypt-proxy` is running. For example, my `.toml` file is `listen_addresses = ['127.0.0.1:5353', '[::1]:5353']`, so edit the conf file to be `server=127.0.0.1#5353`
* Change `server=<IP>#<port>` where `dnscrypt-proxy` is running. For example, my `.toml` file is `listen_addresses = ['127.0.0.1:5300', '[::1]:5300']`, so edit the conf file to be `server=127.0.0.1#5300`
* `sudo nano /etc/pihole/setupVars.conf`: Edit setupVars.conf.
* Comment out all `PIHOLE_DNS=` lines. (set a # in the beginning of the line)
* `sudo nano /etc/dnsmasq.d/01-pihole.conf`