This commit is contained in:
Alexander Schäferdiek 2021-02-11 18:09:52 +01:00
parent dc5c6551c4
commit 819c2e0300

View file

@ -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