Resolved: DNScrypt's queries randomly fail with the error RESPONSE_ERROR. #1884
Replies: 16 comments 40 replies
-
Same issue here ! so frustrating |
Beta Was this translation helpful? Give feedback.
-
Same problem here since around the same time. Based on this thread it seems Cloudflare are either mishandling or deliberately rate limiting signed or encrypted DNS queries. Looks like we might have to file an issue with Cloudflare themselves. |
Beta Was this translation helpful? Give feedback.
-
Update: apparently you can no longer file a Cloudflare ticket with a free account, so I created a thread at their community about this. Please chime in there if this issue is also affecting you. |
Beta Was this translation helpful? Give feedback.
-
The cloudflare entry is registered as DoH so you'd need to have this in the main config file You can put the sdns string into this web page to see how it's setup https://dnscrypt.info/stamps I see Google is also showing as DoH - their stamps from the file are: [cloudflare] with stamp [sdns://AgcAAAAAAAAABzEuMC4wLjEAEmRucy5jbG91ZGZsYXJlLmNvbQovZG5zLXF1ZXJ5] Can you check your main config file to see if |
Beta Was this translation helpful? Give feedback.
-
Anybody having any luck with this at all? I don't see any further replies, so if anyone managed to resolve the problem kindly share the solution with the rest of us. UPDATE at this point I've even tried replacing the standalone At the same time, NextDNS DoH works on my phone on the same home network. This leads me to believe the DNS stamps used by |
Beta Was this translation helpful? Give feedback.
-
query.log.gz
Output:
In total I got 26 'NETWORK_ERROR' written into the logs ( which tallies with the lost queries ) I'll happily keep these running if we can get any more useful input from them, but I don't see much... If you're seeing much higher numbers than I'm seeing in this test, could it be something to do with some locations? Since cloudflare run an anycast address, if we're in different geographic locations, we'll be hitting different cloudflare datacentres... Any luck from twitter ? -- |
Beta Was this translation helpful? Give feedback.
-
I tried From forum convos with Pi-hole devs and mods it seems they've largely migrated to Anyway, I deployed @ianbashford I'm on MetroNet in SE Iowa, USA. |
Beta Was this translation helpful? Give feedback.
-
Alternate view:
|
Beta Was this translation helpful? Give feedback.
-
@jedisct1 I agree. However, to quote a lead software developer at my 2nd job out of grad school: a decent idea that works is better than an excellent idea that doesn't. Pi-hole works just fine with either Cloudflare directly upstream or |
Beta Was this translation helpful? Give feedback.
-
Let's double check everything here:
Are all of these correct? |
Beta Was this translation helpful? Give feedback.
-
Further question -- I see you have quite a few AAAA records in your initial report -- I don't have IPv6 here, so all my queries are IPv4. Are you on native IPv6? Is it possible all of your queries are being made over IPv6 ? Update on the testing: I've setup a VPN to Chicago, IL (that's the closest termination point from my VPN provider I could find to MIssouri ) I've kept the rate high, so that 5 queries per second ( each query is for a different hostname so no repetition ) Looks like I'm being served from cloudflare's server in 'ORD', which is O'Hare: |
Beta Was this translation helpful? Give feedback.
-
OK folks, over 2 months later (LOL) this issue is finally getting Cloudfare staff attention. If you're still having problems, please chime in at this Cloudflare Community thread. |
Beta Was this translation helpful? Give feedback.
-
Wow -- great response now they've got to it
|
Beta Was this translation helpful? Give feedback.
-
FWIW, the test to the US cloudflare has completed -- although since I won't be exiting from the (hopefully) now fixed IP block I doubt they're worth much. 5 queries / second for 24 hours == 432k queries -- total lost was 336 ( 0.08% ) |
Beta Was this translation helpful? Give feedback.
-
Hey @ianbashford, unsure if I should open up a new discussion or continue on this one, but since this one is already "open", I'll just ask here. As per my comment over in the CF thread, I was going to continue the testing. Day before yesterday I flunked up the command and tried making DNS requests on the wrong port, which led to a bunch of timeout errors. Today I completed the correct command, however now I have to create my own source using the CF stamp provided to us. Now, I read through the wiki and got myself a provider file as shown: # dns-cloudflare-resolver
Supports one source only: cloudflare
--
## cloudflare
Cloudflare, but instead of using dns.cloudflare.com we're using cloudflare-dns.com
https://community.cloudflare.com/t/doh-dnscrypt-queries-randomly-fail-with-the-error-response-error-solved/334624/8?u=oolunar
sdns://AgcAAAAAAAAABzEuMC4wLjEAEmNsb3VkZmxhcmUtZG5zLmNvbQovZG5zLXF1ZXJ5 Following the link provided to the minisign website, I ran the following commands to get myself a sudo xbps-install minisign # Void Linux, a rolling release distro. Installed version 0.10
minisign -G # Generates the key pair
minisign -Sm dns-cloudflare-resolver.md The output of
Here's my listen_addresses = ['127.0.0.1:53']
server_names = ['cloudflare']
ipv4_servers = true
ipv6_servers = false
dnscrypt_servers = true
doh_servers = true
odoh_servers = false
require_dnssec = true
require_nolog = true
require_nofilter = true
[query_log]
file = '/var/log/dnscrypt-proxy/query.log'
format = 'tsv'
[nx_log]
file = '/var/log/dnscrypt-proxy/nx.log'
format = 'tsv'
[sources]
[sources.'cloudflare']
urls = ['https://files.forsaken-borders.net/dns-cloudflare-resolver.md']
cache_file = '/var/cache/dnscrypt-proxy/dnscrypt-resolver.md'
minisign_key = 'RWQFkh3QI+pwFA3sgq9pN8Q/CUvKBie8uTwINo+tpAm/G2bPhwH/AdZR' # This was grabbed from the minisign.pub generated from `minisign -G` However, when I start dnscrypt, I get the following error:
(Ignore the
|
Beta Was this translation helpful? Give feedback.
-
Just finding this thread.. Was it actually stated that there was a possible problem between dnscrypt-proxy and Cloudflare.. and keeping Cloudflare was more important than dnscrypt-proxy? Quad9 is a better alternative than Cloudflare.. and Frank pays better attention to us than Cloudflare.. Maybe just me.. #ThanksFrank |
Beta Was this translation helpful? Give feedback.
-
DNScrypt's queries randomly fail with the error
RESPONSE_ERROR
.Log:
Config:
Beta Was this translation helpful? Give feedback.
All reactions