From 0d4e612433969e9ca5522b7f3c84263833544bc5 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 13 Dec 2025 17:56:57 +0000 Subject: [PATCH] curl DIGITALOCEAN_DOMAIN --- dyndns.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyndns.bash b/dyndns.bash index 280e2dc..a3478e8 100755 --- a/dyndns.bash +++ b/dyndns.bash @@ -19,7 +19,7 @@ IP="" if [ "$#" == "1" ]; then IP=$1 else - IP=`curl -4 icanhazip.com 2> /dev/null` + IP=`curl -4 $DIGITALOCEAN_DOMAIN 2> /dev/null` fi # If $IP does not look like a valid address then complain and exit.