pi-hole:benchmark
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pi-hole:benchmark [2020/09/10 09:57] – created 192.168.1.1 | pi-hole:benchmark [2020/09/10 10:04] (current) – [Increase DNS cache size] 192.168.1.1 | ||
---|---|---|---|
Line 37: | Line 37: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 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 / | ||
+ | |||
+ | <file bash / | ||
+ | cache-size=25000 | ||
+ | </ | ||
+ | |||
+ | and | ||
+ | |||
+ | <code bash> | ||
+ | sudo pihole restartdns | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Query domains from the list ===== | ||
+ | |||
+ | <code bash> | ||
+ | time dig -f domains.list +noall +answer > /dev/null | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
pi-hole/benchmark.1599731863.txt.gz · Last modified: 2020/09/10 09:57 by 192.168.1.1