I’m having an issue where web pages take forever to start loading, but only on my EndeavourOS PC. Other devices (like my phone) on the same network work perfectly.
OS: EndeavourOS
Primary DNS: Pi-hole (local IP)
Secondary DNS: 8.8.8.8
It feels like a DNS timeout issue (huge delay before the page loads). I suspect NetworkManager or systemd-resolved might be handling the primary/secondary DNS incorrectly.
Any ideas how to fix this slow lookup on Arch? I have download speed 130mbps. Thanks
Yes, I have a Windows PC on the same network and everything loads snappy and fast there. My phone is a CMF Phone (Android) and it works perfectly fine too.
Regarding the Pi-hole/OpenWrt upstream resolvers, they are configured to use:
Yes, if I turn off Pihole, it speeds up by 10 times, no, the server 10.129.0.129 is not pihole, it is an upstream address from the ISP, here is the output from nslookup endeavoros.com 10.129.0.129, thanks.
You should disable secondary DNS if you want to only use your Pi-hole. It is not a used in case the pihole is unavailable. It is used in parallel in some weird random fashion.
The delay you see may be caused by asking one DNS and when it fails it tries again at 8.8.8.8.
You can try to simplify your network by setting your PC DNS to be the pihole. In pihole set upstream DNS to be only 8.8.8.8. That way it is not at random and you should always see the same performace. And since google’s dns are pretty high performace you should see it works or not but should not cause slow page loading.
When the loading speed is good in this configuration then you may try the other upstream dns.
Also if you use DHCP then make sure it offers only pihole as DNS.
And if you use Firefox then check settings under security if you have DNS over HTTPS enabled. I think that may collide with pihole function as well.