ipv4: wrong mention of debug

This commit is contained in:
Roger Sikorski 2022-08-01 22:34:02 +02:00
parent dd369c801d
commit abc287ea5a

View File

@ -25,7 +25,7 @@ result=$(curl -s -X GET -H "$headers" \
"https://api.godaddy.com/v1/domains/$domain/records/A/$name") "https://api.godaddy.com/v1/domains/$domain/records/A/$name")
dnsIp=$(echo $result | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b") dnsIp=$(echo $result | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b")
# echo "dnsIp:" $dnsIp # debug echo "dnsIp:" $dnsIp
# Get public ip address there are several websites that can do this. # Get public ip address there are several websites that can do this.
currentIp=$(curl -s GET "https://ipv4.wtfismyip.com/text") currentIp=$(curl -s GET "https://ipv4.wtfismyip.com/text")