Use ssl
This commit is contained in:
parent
778f8d4ab6
commit
ea0e49f5f3
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ echo "Checking ${hostname}"
|
||||||
if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then
|
if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then
|
||||||
echo "Testing IPv6";
|
echo "Testing IPv6";
|
||||||
ipv6Address=$(curl -s "https://v6.ident.me/")
|
ipv6Address=$(curl -s "https://v6.ident.me/")
|
||||||
ipv6Res=$(curl -fsS "https://ipv6.dynv6.com/api/update?hostname=${hostname}&ipv6=${ipv6Address}&token=${token}")
|
ipv6Res=$(curl -s -v "https://ipv6.dynv6.com/api/update?hostname=${hostname}&ipv6=${ipv6Address}&token=${token}")
|
||||||
ipv6Changed=true;
|
ipv6Changed=true;
|
||||||
|
|
||||||
if [ "${ipv6Res}" = "addresses unchanged" ]; then
|
if [ "${ipv6Res}" = "addresses unchanged" ]; then
|
||||||
|
|
Loading…
Reference in a new issue