From 819c2e030053d6de812bfb5f40afe6e3e2287d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Thu, 11 Feb 2021 18:09:52 +0100 Subject: [PATCH] Fix ipv4 --- usr/local/bin/dynv6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/dynv6 b/usr/local/bin/dynv6 index 1eda909..0341356 100644 --- a/usr/local/bin/dynv6 +++ b/usr/local/bin/dynv6 @@ -131,7 +131,7 @@ fi # ipv4 if [ "${DYNV6_IPV4_ENABLED}" = "true" ]; then echo "Testing IPv4"; - ipv4Address=$(curl -s "https://v4.ident.me/") + ipv4Address=$(curl -s "https://api.ipify.org/?format=text") ipv4Res=$(curl -fsS "https://ipv4.dynv6.com/api/update?hostname=${hostname}&ipv4=${ipv4Address}&token=${token}") ipv4Changed=true; if [ "$ipv4Res" = "addresses unchanged" ]; then