Reduce the DNS timeout

This commit is contained in:
Max Lv
2018-01-12 17:02:22 +08:00
parent b3a818b03a
commit 4e943bc782
2 changed files with 2 additions and 2 deletions
@@ -54,7 +54,7 @@ object LocalDnsService {
is Inet6Address -> "[$address]"
else -> address
}) + ":53")
.put("Timeout", 12)
.put("Timeout", 3)
.put("EDNSClientSubnet", JSONObject().put("Policy", "disable"))
if (edns) dns
.put("Protocol", "tcp")