1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-09 21:55:13 +02:00

Merge pull request #12 from AlpayY/patch-1

Fixed issue with example script not being able to get the current IP address
This commit is contained in:
Felix Kretschmer 2020-08-27 08:43:30 +02:00 committed by GitHub
commit f0b09747ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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