summaryrefslogtreecommitdiff
path: root/dyndns.bash
diff options
context:
space:
mode:
Diffstat (limited to 'dyndns.bash')
-rwxr-xr-xdyndns.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/dyndns.bash b/dyndns.bash
index 6e51881..ebb6ab8 100755
--- a/dyndns.bash
+++ b/dyndns.bash
@@ -19,7 +19,7 @@ IP=""
if [ "$#" == "1" ]; then
IP=$1
else
- IP=`curl -4 $DIGITALOCEAN_DOMAIN 2> /dev/null`
+ IP=`curl -4 icanhazip.com 2> /dev/null`
fi
# If $IP does not look like a valid address then complain and exit.