We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2651a2 commit 643a860Copy full SHA for 643a860
patches/0001-anti-dpi.patch
@@ -65,7 +65,7 @@ new file mode 100644
65
index 000000000..3ce78c5de
66
--- /dev/null
67
+++ b/app/src/main/kotlin/com/hippo/ehviewer/client/EhDns.kt
68
-@@ -0,0 +1,70 @@
+@@ -0,0 +1,67 @@
69
+package com.hippo.ehviewer.client
70
+
71
+import com.ehviewer.core.util.isAtLeastQ
@@ -129,9 +129,6 @@ index 000000000..3ce78c5de
129
+ builtInHosts[hostname] ?: systemDns.lookup("$hostname$CFSUFFIX")
130
+ (hostname in dohSkipDomains) ->
131
+ systemDns.lookup(hostname)
132
-+ (EXCEPTIONAL_DOMAIN in hostname) ->
133
-+ (systemDns.lookup(hostname))
134
-+ .filterIsInstance<Inet4Address>()
135
+ else ->
136
+ builtInHosts[hostname] ?: systemDns.lookup(hostname)
137
+ }.shuffled()
0 commit comments