UPDATE: Based on the lack of response to this and on Twitter it would appear that Cloudflare are silently rate limiting DoH and DNSCrypt queries. Per this thread the issue isn’t unique to Cloudflare or even dnscrypt-proxy; cloudflared has the exact same problem.
Based on this, I would encourage anyone experiencing this issue to either upgrade to a Cloudflare paid account (I’m not sure what difference that would make TBH) or migrate to unbound.
Or, gasp use your ISP’'s DNS, which is less likely to rate limit you as a paying customer.
Not here, I guess. People usually jump if they’ve had the same issue.
My last 24 hours looks to be about 33k. Admittedly, it’s been a relatively quiet day here. I’ve never heard of DNS queries of any type being rate limited.
@anb seems to have some experience with DNSCrypt and is a DNS wiz here.
Thanks for pinging me @sdayman, I missed this thread as it doesn’t have the 1.1.1.1 tag.
Hi @judahrichardson, I feel sorry to hear that this issue has been around for so long. Please let me try to help you.
Can you try this stamp: sdns://AgcAAAAAAAAABzEuMC4wLjEAEmNsb3VkZmxhcmUtZG5zLmNvbQovZG5zLXF1ZXJ5 to see if the issue persist? It changes the host from dns.cloudflare.com to cloudflare-dns.com. Also can you PM me your external IP(you can have it masked with /24), I’ll check for any potential ratelimiting just in case.
Edit: since PM may not work, you can shot a msg to [email protected] instead, I’ll catch it.
I will be doing a test of one DNS uncached query per second over the course of 24 hours, as found here. I will then edit my current configuration with the new stamp you provided, then repeat the test. I’ll report back in roughly 2 days with my results. Thank you for your support!
Edit, here’s my current DNSCrypt-proxy configuration:
I think your issue has been solved. One of our attack mitigation system is not quite intelligent yet, which ratelimits a block of IPs that including yours. I’m really sorry about this.
@anb Thanks for the fix! I’ll be sticking with unbound for now as this is the 2nd major 1.1.1.1 issue I’ve had in as many years and each one has been a PITA to resolve. If unbound fails me at an equal or higher rate I’ll be back. Again, much appreciate the quick action.