diff --git a/app/src/main/java/ceui/lisa/fragments/FragmentWebView.java b/app/src/main/java/ceui/lisa/fragments/FragmentWebView.java index ce25c69f..5dbe9f31 100644 --- a/app/src/main/java/ceui/lisa/fragments/FragmentWebView.java +++ b/app/src/main/java/ceui/lisa/fragments/FragmentWebView.java @@ -478,7 +478,7 @@ public URLConnection recursiveRequest(String path, Map headers, url = new URL(path); conn = (HttpURLConnection) url.openConnection(); // 异步接口获取IP - String ip = "210.140.131.188"; + String ip = "210.140.139.157"; if (ip != null) { // 通过HTTPDNS获取IP成功,进行URL替换和HOST头设置 Log.d(TAG, "Get IP: " + ip + " for host: " + url.getHost() + " from HTTPDNS successfully!"); diff --git a/app/src/main/java/ceui/lisa/http/CloudFlareDns.kt b/app/src/main/java/ceui/lisa/http/CloudFlareDns.kt index d3c9cb7f..d916d229 100644 --- a/app/src/main/java/ceui/lisa/http/CloudFlareDns.kt +++ b/app/src/main/java/ceui/lisa/http/CloudFlareDns.kt @@ -10,14 +10,14 @@ class CloudFlareDns(private val service: CloudFlareDNSService) : Dns { when (hostname) { "oauth.secure.pixiv.net" -> addresses.addAll( - listOf("210.140.131.209").map { + listOf("210.140.139.156").map { InetAddress.getByName( it ) } ) "app-api.pixiv.net" -> addresses.addAll( - listOf("210.140.131.208").map { + listOf("210.140.139.155").map { InetAddress.getByName( it ) diff --git a/app/src/main/java/ceui/lisa/http/HttpDns.java b/app/src/main/java/ceui/lisa/http/HttpDns.java index 92f8101f..b4077554 100644 --- a/app/src/main/java/ceui/lisa/http/HttpDns.java +++ b/app/src/main/java/ceui/lisa/http/HttpDns.java @@ -19,10 +19,10 @@ public class HttpDns implements Dns { */ private static final String[] addresses = { - "210.140.131.188", - "210.140.131.218", - "210.140.131.187", - "210.140.131.189" + "210.140.139.155", + "210.140.139.156", + "210.140.139.157", + "210.140.139.158" }; public static List newDns = new ArrayList<>(); private static HttpDns sHttpDns = null;