From 0d41eb467ff49d7664d488c019bb6ebf9113adce Mon Sep 17 00:00:00 2001 From: xream Date: Sat, 18 May 2024 22:24:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9F=90=E4=BA=9B=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E4=BB=85=E6=94=AF=E6=8C=81=E4=BB=8E=E5=9B=BD=E5=86=85=20DNS=20?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E6=AD=A3=E7=A1=AE=E7=BB=93=E6=9E=9C,=20?= =?UTF-8?q?=E4=B8=BA=E6=96=B9=E4=BE=BF=E9=83=A8=E7=BD=B2=E5=9C=A8=E6=B5=B7?= =?UTF-8?q?=E5=A4=96=E7=9A=84=E7=94=A8=E6=88=B7,=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=9B=BD=E5=86=85=20DNS=20=E8=A7=A3=E6=9E=90=E6=97=B6,=20ECS?= =?UTF-8?q?=20IP=20=E6=8C=87=E5=AE=9A=E4=B8=BA=E5=9B=BD=E5=86=85=20IP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/processors/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/package.json b/backend/package.json index fc79b90..7370698 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.312", + "version": "2.14.313", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/processors/index.js b/backend/src/core/proxy-utils/processors/index.js index 166c0fc..2e8d84f 100644 --- a/backend/src/core/proxy-utils/processors/index.js +++ b/backend/src/core/proxy-utils/processors/index.js @@ -462,7 +462,7 @@ const DOMAIN_RESOLVERS = { const cached = resourceCache.get(id); if (!noCache && cached) return cached; const resp = await $.http.get({ - url: `http://223.6.6.6/resolve?name=${encodeURIComponent( + url: `http://223.6.6.6/resolve?edns_client_subnet=223.6.6.6/24&name=${encodeURIComponent( domain, )}&type=${type === 'IPv6' ? 'AAAA' : 'A'}&short=1`, headers: { @@ -482,7 +482,7 @@ const DOMAIN_RESOLVERS = { const cached = resourceCache.get(id); if (!noCache && cached) return cached; const resp = await $.http.get({ - url: `http://119.28.28.28/d?type=${ + url: `http://119.28.28.28/d?ip=119.28.28.28&type=${ type === 'IPv6' ? 'AAAA' : 'A' }&dn=${encodeURIComponent(domain)}`, headers: {