Timeouts/delays Quad9 servers using https-dns-proxy

I've worked around this issue - this is just to note it in case anyone else finds themselves in the same position.

Last weekend I found web pages taking at least 4 seconds, sometimes longer to load - and it looked like DNS queries had randomly started to have significant delays. Using nslookup it was clear this was the problem; a new query would time out, but it would then work if re-queried (albeit unreliably). There was no configuration change on my end that resulted in this.

The system was using https-dns-proxy forwarding to the standard Quad9 servers. Switching to Google's DNS servers resolved the issue. I seemed to be able to also use the Quad9 servers directly (i.e. from PC configuration) - although I didn't rigorously test that. My short term solution was to use the Google servers, and I have now moved to dnscrypt-proxy2 which appears to be working well with Quad9 servers.

When trying to diagnose the problem it was not clear at all what might be interfering with the queries, and Quad9 were not reporting problems. It could be something strange happening at my end or with my ISP but I struggle to think what might result in this behaviour. Having worked on it for a while I've done the work-around and moved on, but if this evolves into a more common issue and/or wants to suggest further diagnostics I'd be happy to try and recreate it and look more closely.

Quad9 IMO throttles DNS-over-TLS. It takes 2-4 times longer to get reply if compared with DNS@53 or DNSCrypt. Never compared with their DNS-over-HTTPS though.

I'd switch to Google or something else but the rest doesn't block EDNS. And I use some resources which use EDNS to block requests from my location (one of the most idiotic ways to do it).

1 Like

Thanks Timur - although it's strange that one day it was fine and not the next...and this was a lot longer a 2-4x delay.

My choice of Quad9 is for the removal of malicious domains, so as long as it works with dnscrypt-proxy2 then I'm fine with that :slight_smile:

1 Like