pihole DNS cache size is so slow how come?
I set pihole DNS cache size = 0 then everything is fast.
Installed unbound and pihole DNS cache size = 0 then everything is fast.
thx
pihole DNS cache size is so slow how come?
I set pihole DNS cache size = 0 then everything is fast.
Installed unbound and pihole DNS cache size = 0 then everything is fast.
thx
Please elaborate on your problem. The cache serves answers from memory, so it is not slow. It is as fast as your CPU allows.
Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
pihole -d
or do it through the Web interface:
Tools > Generate Debug Log
https://tricorder.pi-hole.net/aay96qx2cx
Cache = 0 when i have more time i can give log with cache on
Your debug log shows the following:
CACHE_SIZE=10000
What are the outputs of the following commands from the Pi terminal:
echo ">cacheinfo >quit" | nc localhost 4711
echo ">forward-dest >quit" | nc localhost 4711
Edit - you are not using unbound as your upstream DNS server, you are using your router.
*** [ DIAGNOSING ]: Setup variables
...
PIHOLE_DNS_1=10.100.200.1
PIHOLE_DNS_2=10.100.200.1
Edit 2 - how are you specifying the zero cache size? In which file and what is the configuration line?
I changed it here like at documentation /etc/dnsmasq.d/01-pihole.conf
Unbound whas just a test to see if i got + from it
I have atm the max + to use provider dns and dns cache pihole on 0
I changed both files now but /etc/dnsmasq.d/01-pihole.conf whas the one that shows 0 0 0 on admin page
Unbound is on my list, maybe for security, but not for now
What were the outputs from the commands I requested?
What were your indications of slowness when you have the cache set at the normal size of 10,000?
Were you seeing slow replies from digs or nslookups?
Set to 10000 again did some test and problem seem to be gone.
Can it be there whas a fault in the dns cache databse?
Did some test digs, website loading,…
It's hard to say, but we have no open bug reports on the cache operation.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.