Hi!
Is it possible to set pi-hole's cache to tmp in tmpfs?
I want set path to /tmp on "tmpfs" but I don't know how.
Hi!
Is it possible to set pi-hole's cache to tmp in tmpfs?
I want set path to /tmp on "tmpfs" but I don't know how.
What Pi-Hole cache file are you referring to?
I've set in: /etc/dnsmasq.d/01-pi-hole.conf
cache-size=100000
I'd like it if there was a way in pi-hole to change the CACHE-path to tmpfs.
Kind of:
cache-path=/tmp
Is there a way to set cache-path in pi-hole to TMPfs?
This is of no benefit. Even with the default cache size of 10,000, you will likely never have a full cache. The cache information is retrieved with the following command and the example output is from a Pi-Hole that serves 21 clients (many of them IOT with repeated DNS queries).
echo ">cacheinfo" | nc 127.0.0.1 4711
cache-size: 10000
cache-live-freed: 0
cache-inserted: 9578
See the thread referenced below for details.
The cache is in memory and is not written to disk. There is no file to redirect to tmp or tmpfs.
ok, thanks for that info!
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.