diff --git a/mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt b/mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt index ac8c1e4d04..15dc3a9571 100644 --- a/mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt +++ b/mobile/src/main/java/com/github/shadowsocks/bg/LocalDnsService.kt @@ -62,11 +62,11 @@ object LocalDnsService { .put("MinimumTTL", 120) .put("CacheSize", 4096) val remoteDns = JSONArray(profile.remoteDns.split(",") - .mapIndexed { i, dns -> makeDns("UserDef-$i", dns.trim() + ":53", 9) }) + .mapIndexed { i, dns -> makeDns("UserDef-$i", dns.trim() + ":53", 12) }) val localDns = JSONArray(arrayOf( - makeDns("Primary-1", "208.67.222.222:443", 3, false), - makeDns("Primary-2", "119.29.29.29:53", 3, false), - makeDns("Primary-3", "114.114.114.114:53", 3, false) + makeDns("Primary-1", "208.67.222.222:443", 9, false), + makeDns("Primary-2", "119.29.29.29:53", 9, false), + makeDns("Primary-3", "114.114.114.114:53", 9, false) )) when (profile.route) {