mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-28 22:08:28 +00:00
Updated DNSCrypt 2.0 (markdown)
parent
3798a5ab4d
commit
35cf57986a
1 changed files with 2 additions and 4 deletions
|
@ -30,14 +30,12 @@ Also see the [wiki](https://github.com/jedisct1/dnscrypt-proxy/wiki/DNS-server-s
|
||||||
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 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:
|
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.
|
* `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:5353', '[::1]:5353']`, so edit the conf file to be `server=127.0.0.1#5353`
|
||||||
* `sudo nano /etc/pihole/setupVars.conf`: Edit setupVars.conf.
|
* `sudo nano /etc/pihole/setupVars.conf`: Edit setupVars.conf.
|
||||||
* Comment out `#PIHOLE_DNS#=` lines.
|
* Comment out all `PIHOLE_DNS=` lines. (set a # in the beginning of the line)
|
||||||
* `sudo nano /etc/dnsmasq.d/01-pihole.conf`
|
* `sudo nano /etc/dnsmasq.d/01-pihole.conf`
|
||||||
* Comment out `#server=...` lines
|
* Comment out all `server=...` lines. (set a # in the beginning of the line)
|
||||||
* `sudo service dnsmasq restart`: restart dnsmasq
|
* `sudo service dnsmasq restart`: restart dnsmasq
|
||||||
|
|
||||||
## Test DNSCrypt
|
## Test DNSCrypt
|
||||||
|
|
Loading…
Add table
Reference in a new issue