Updated DNSCrypt 2.0 (markdown)

Flaxe 2018-04-25 19:31:19 +02:00
parent 5219f61356
commit 3798a5ab4d

@ -1,11 +1,9 @@
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](https://github.com/jedisct1/dnscrypt-proxy) by jedisct1 drastically simplifies configuration and installation. There are pre-built binaries as well. The main configuration options are now centralized in a .toml file. Server selection and server updates are handled automatically.
## Step 1: Install DNSCrypt-Proxy
* `cd /opt`: Move to /opt directory. This is where we will place the dnscrypt-proxy files.
* Download the [latest](https://github.com/jedisct1/dnscrypt-proxy/releases/latest) pre-built binary. I'm using Pi-Hole on Linux x86_64 architecture, so I'll use `linux_x86_64`. Replace with your system architecture, you can check which you use by running `uname -sm`.
* `tar -xf dnscrypt-proxy-linux_x86_64-2.0.10.tar.gz`: Extract prebuilt binary
@ -29,7 +27,9 @@ There are instructions on the [wiki](https://github.com/jedisct1/dnscrypt-proxy/
Also see the [wiki](https://github.com/jedisct1/dnscrypt-proxy/wiki/DNS-server-sources) for details on DNS server sources.
## Step 2: Modify Pi-Hole
If you're running a newer version of Pi-Hole (might only be available on FTLDNS at the moment), you have the possibility to specify a "**Local DNS server on custom port**" in the Web interface by going to **Settings -> DNS**. Simply check the checkbox and enter 5353 as the port. Of course, you should remove (uncheck) every other DNS server.
If you're running a older version of Pi-Hole, then follow these instructions:
These instructions are the [same](https://github.com/pi-hole/pi-hole/wiki/DNSCrypt#change-your-dnsmasq-config), but will copy them here.
* `sudo nano /etc/dnsmasq.d/02-dnscrypt.conf`: Create new or edit existing conf.