s-s / dnscloak

iOS GUI and wrapper for dnscrypt-proxy 2
Mozilla Public License 2.0
321 stars 38 forks source link

Unable to connect to any DNS server #28

Closed mikaaeru closed 4 years ago

mikaaeru commented 4 years ago

I do use this APP everyday because to avoid my government shitty DNS resolver but today I found that it stopped working.

When I click start, it just never connects Reading the log I think the fault is at the list file

Here’s an error log I got:


[2020-06-22 01:19:27] [CRITICAL] Unable to use source [public-resolvers]: [Multiple stamps for server [faelix-ch-ipv4] in source from [[https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md]]]
[2020-06-22 01:19:27] [FATAL] No servers configured

Thank you so much if you can fix this

spartanunitato commented 4 years ago

I'm facing a similar issue with DNSCloak not working out of a sudden. I'm using an iPhone 11 Pro on iOS 13.5.1, and DNSCloak has worked perfectly fine until today, when my app refused to connect at all. @s-s What's the issue and how do we fix it?

spartanunitato commented 4 years ago

@haru1945 Did you manage to fix the problem?

mikaaeru commented 4 years ago

I think it has some issue with the list signature

[2020-07-08 15:06:06] [DEBUG] Rebuilding transport [2020-07-08 15:06:06] [DEBUG] Cache file [/private/var/mobile/Containers/Shared/AppGroup/70A6F914-1101-4A47-A5F9-06486494E6B6/dnscrypt/resolvers/public-resolvers.md] not present [2020-07-08 15:06:06] [INFO] Loading source information from URL [https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md] [2020-07-08 15:06:06] [DEBUG] [raw.githubusercontent.com] IP address was not cached [2020-07-08 15:06:09] [DEBUG] Cache file [/private/var/mobile/Containers/Shared/AppGroup/70A6F914-1101-4A47-A5F9-06486494E6B6/dnscrypt/resolvers/public-resolvers.md.minisig] not present [2020-07-08 15:06:09] [INFO] Loading source information from URL [https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md.minisig] [2020-07-08 15:06:09] [CRITICAL] Unable to use source [public-resolvers]: [Invalid signature] [2020-07-08 15:06:09] [FATAL] No servers configured

mikaaeru commented 4 years ago

@haru1945 Did you manage to fix the problem?

I managed to fix it by replacing the url= in config editor with https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md

The default resolver list is problematic This is my config now:

listen_addresses = [ "127.0.0.1:53", "[::1]:53" ] ipv4_servers = true ipv6_servers = true max_clients = 250 dnscrypt_servers = true doh_servers = true require_dnssec = false require_nolog = false require_nofilter = false force_tcp = false tls_disable_session_tickets = false dnscrypt_ephemeral_keys = false timeout = 2500 cert_refresh_delay = 240 block_ipv6 = false cache = true cache_size = 256 cache_min_ttl = 600 cache_max_ttl = 86400 cache_neg_ttl = 60 fallback_resolver = "9.9.9.9:53" ignore_system_dns = false log_files_max_size = 10 log_files_max_age = 7 log_files_max_backups = 1 netprobe_timeout = 0 [sources.public-resolvers] url = "https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md" minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3" format = "v2" refresh_delay = 72 prefix = ""

spartanunitato commented 4 years ago

@haru1945 Thank you so much! It works perfectly fine now. Have a great week ahead.

mikaaeru commented 4 years ago

:)