From 9a1df3ee8a43163d5005a44507a0b643a69bbc80 Mon Sep 17 00:00:00 2001 From: AlpayY Date: Wed, 26 Aug 2020 22:49:36 +0200 Subject: [PATCH] Update update-dyndns.sh Updated example script, fixed bug that produces 301 on curl of current IP. --- examples/update-dyndns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/update-dyndns.sh b/examples/update-dyndns.sh index dde7771..de54667 100755 --- a/examples/update-dyndns.sh +++ b/examples/update-dyndns.sh @@ -10,8 +10,8 @@ SCRIPT="https:///update.php" FORCE=0 MODE="both" # can be undefined, "@", "*" or "both" -IPV4=$(curl -4 -q ident.me) -IPV6=$(curl -6 -q ident.me) +IPV4=$(curl -4 -q v4.ident.me) +IPV6=$(curl -6 -q v6.ident.me) echo ${IPV4} echo ${IPV6}