We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23cc040 commit 6f1f770Copy full SHA for 6f1f770
1 file changed
cf-v4-ddns.sh
@@ -44,13 +44,13 @@ CFTTL=60
44
# Ignore local file, update ip anyway
45
FORCE=false
46
47
-WANIPSITE="http://ipv4.icanhazip.com"
+WANIPSITE="https://api4.ipify.org"
48
49
# Site to retrieve WAN ip, other examples are: bot.whatismyipaddress.com, https://api.ipify.org/ ...
50
if [ "$CFRECORD_TYPE" = "A" ]; then
51
:
52
elif [ "$CFRECORD_TYPE" = "AAAA" ]; then
53
- WANIPSITE="http://ipv6.icanhazip.com"
+ WANIPSITE="https://api6.ipify.org"
54
else
55
echo "$CFRECORD_TYPE specified is invalid, CFRECORD_TYPE can only be A(for IPv4)|AAAA(for IPv6)"
56
exit 2
0 commit comments