ownDynDNS - Self-hosted dynamic DNS php script for Speedport Smart 4 and netcup DNS API

git clone git://git.bcharge.de/ownDynDNS.git

About | Log | Files | Refs | License

commit 9a1df3ee8a43163d5005a44507a0b643a69bbc80
parent 7f6291964e4aca4c612c69dc7839077623bde1f2
Author: AlpayY <alpay.yildiray@gmail.com>
Date:   Wed, 26 Aug 2020 22:49:36 +0200

Update update-dyndns.sh

Updated example script, fixed bug that produces 301 on curl of current IP.
Diffstat:
Mexamples/update-dyndns.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/update-dyndns.sh b/examples/update-dyndns.sh @@ -10,8 +10,8 @@ SCRIPT="https://<url of your webspace>/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}