User Tools

Site Tools


pi-hole:benchmark

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pi-hole:benchmark [2020/09/10 09:57] – created 192.168.1.1pi-hole:benchmark [2020/09/10 10:04] (current) – [Increase DNS cache size] 192.168.1.1
Line 37: Line 37:
 </WRAP> </WRAP>
  
 +
 +----
 +
 +===== Increase DNS cache size =====
 +
 +Set **cache-size** to a rather high value (maybe 25,000 - by guess roughly one-eighth to one-fourth number of the domains you extracted from the database earlier) in /etc/dnsmasq.d/01-pihole.conf :
 +
 +<file bash /etc/dnsmasq.d/01-pihole.conf>
 +cache-size=25000
 +</file>
 +
 +and
 +
 +<code bash>
 +sudo pihole restartdns
 +</code>
 +
 +
 +----
 +
 +===== Query domains from the list =====
 +
 +<code bash>
 +time dig -f domains.list +noall +answer > /dev/null
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This will show you how much time it takes to query the number of domains you extracted from the database.
 +</WRAP>
  
  
pi-hole/benchmark.1599731863.txt.gz · Last modified: 2020/09/10 09:57 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki