Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clayauld committed Apr 25, 2021
1 parent 6e78be0 commit 26578d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,13 @@ sudo service nginx restart

In order to experience high speed and low latency DNS resolution, you need to make some changes to your Pi-hole. These configurations are crucial because if you skip these steps you may experience very slow response times:

1. Open the configuration file `/etc/dnsmasq.d/01-pihole.conf` and make sure that cache size is zero by setting `cache-size=0`. This step is important because the caching is already handled by the Unbound. **Please note that the changes made to this file will be overwritten once you update/modify Pi-hole.**
1. Open the configuration file `/etc/pihole/setupVars.conf` and add the entry below.

``
CACHE_SIZE=0
``

* This step is important because the caching is already handled by the Unbound. **Please note that if the changes are only made to the file `/etc/dnsmasq.d/01-pihole.conf` they will be overwritten once you update/modify Pi-hole.**

2. When you're using unbound you're relying on that for DNSSEC validation and caching, and Pi-hole doing those same things are just going to waste time validating DNSSEC twice. In order to resolve this issue you need to untick the `Use DNSSEC` option in Pi-hole web interface by navigating to `Settings > DNS > Advanced DNS settings`.

Expand All @@ -428,4 +434,4 @@ Next steps to set Pi-hole's upstream DNS server to the unbound service

![Screenshot](./images/upstream_dns.PNG "Upstream DNS")

4. Reboot Server to Apply all changes and check configuration
4. Reboot Server to Apply all changes and check configuration

0 comments on commit 26578d2

Please sign in to comment.