From 57348b507201deb66aff07d1265677c2d43e6a6f Mon Sep 17 00:00:00 2001 From: tradewind Date: Wed, 19 Jan 2022 23:02:11 +0800 Subject: [PATCH] #tradewind:ipv4 --- jobs/ddns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/ddns.php b/jobs/ddns.php index 39d62b9..d32a819 100644 --- a/jobs/ddns.php +++ b/jobs/ddns.php @@ -29,7 +29,7 @@ try { } -$realIp = shell_exec('curl -s ip.sb'); +$realIp = shell_exec('curl -s -4 ip.sb'); $realIp = str_replace("\n", "", $realIp); if (!empty($realIp)) {