From e7dfce30dfb3d9b785dd6e91fba7cd84e3a5b894 Mon Sep 17 00:00:00 2001 From: Ljzd-PRO <63289359+Ljzd-PRO@users.noreply.github.com> Date: Sat, 30 Jul 2022 15:19:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=8D=A2IPv6=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #102 平台:https://ipw.cn --- ardnspod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ardnspod b/ardnspod index 5a8d3d2..f5a11b6 100644 --- a/ardnspod +++ b/ardnspod @@ -58,9 +58,9 @@ arWanIp6() { local hostIp if type curl >/dev/null 2>&1; then - hostIp=$(curl -s https://v6.ip.sb) + hostIp=$(curl 6.ipw.cn) else - hostIp=$(wget -q -O- https://v6.ip.sb) + hostIp=$(wget -q -O- 6.ipw.cn) fi if [ -z "$hostIp" ]; then From 1c59aac26c53c20c70fd01607b2925b360096841 Mon Sep 17 00:00:00 2001 From: Ljzd-PRO <63289359+Ljzd-PRO@users.noreply.github.com> Date: Sat, 30 Jul 2022 15:22:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=8E=B7=E5=8F=96IPv6?= =?UTF-8?q?=E7=9A=84curl=E5=91=BD=E4=BB=A4=E4=B8=BASilent=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ardnspod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ardnspod b/ardnspod index f5a11b6..4a1225a 100644 --- a/ardnspod +++ b/ardnspod @@ -58,7 +58,7 @@ arWanIp6() { local hostIp if type curl >/dev/null 2>&1; then - hostIp=$(curl 6.ipw.cn) + hostIp=$(curl -s 6.ipw.cn) else hostIp=$(wget -q -O- 6.ipw.cn) fi