From 69f35dcd370f5fe2bbe097a8fb088be006462854 Mon Sep 17 00:00:00 2001 From: xooxoodark <104720789+xooxoodark@users.noreply.github.com> Date: Sat, 10 Dec 2022 16:02:45 +0800 Subject: [PATCH] orginal https://ip.gs didn't work --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 35410ce..18134d1 100644 --- a/install.sh +++ b/install.sh @@ -242,8 +242,8 @@ function domain_check() { wg-quick down wgcf >/dev/null 2>&1 print_ok "已关闭 wgcf-warp" fi - local_ipv4=$(curl -s4m8 https://ip.gs) - local_ipv6=$(curl -s6m8 https://ip.gs) + local_ipv4=$(curl -s4m8 https://ifconfig.co/) + local_ipv6=$(curl -s6m8 https://ifconfig.co/) if [[ -z ${local_ipv4} && -n ${local_ipv6} ]]; then # 纯IPv6 VPS,自动添加DNS64服务器以备acme.sh申请证书使用 echo -e nameserver 2a01:4f8:c2c:123f::1 > /etc/resolv.conf