Skip to content

Commit 6f1f770

Browse files
authored
Update cf-v4-ddns.sh
1 parent 23cc040 commit 6f1f770

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cf-v4-ddns.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ CFTTL=60
4444
# Ignore local file, update ip anyway
4545
FORCE=false
4646

47-
WANIPSITE="http://ipv4.icanhazip.com"
47+
WANIPSITE="https://api4.ipify.org"
4848

4949
# Site to retrieve WAN ip, other examples are: bot.whatismyipaddress.com, https://api.ipify.org/ ...
5050
if [ "$CFRECORD_TYPE" = "A" ]; then
5151
:
5252
elif [ "$CFRECORD_TYPE" = "AAAA" ]; then
53-
WANIPSITE="http://ipv6.icanhazip.com"
53+
WANIPSITE="https://api6.ipify.org"
5454
else
5555
echo "$CFRECORD_TYPE specified is invalid, CFRECORD_TYPE can only be A(for IPv4)|AAAA(for IPv6)"
5656
exit 2

0 commit comments

Comments
 (0)