Commit 4e943bc7 authored by Max Lv's avatar Max Lv

Reduce the DNS timeout

parent b3a818b0
Subproject commit 87e4bece845d387910b97bfbf3cea8416450dace
Subproject commit 1d94442546abc0eb2c051e48e64d0e2b93e3f0cd
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment