diff --git a/godaddy_ddns.ps1 b/godaddy_ddns.ps1 index 4aeb783..835318d 100644 --- a/godaddy_ddns.ps1 +++ b/godaddy_ddns.ps1 @@ -20,7 +20,7 @@ $content = ConvertFrom-Json $result.content $dnsIp = $content.data # Get public ip address there are several websites that can do this. -$currentIp = Invoke-RestMethod http://ipinfo.io/json | Select-Object -ExpandProperty ip +$currentIp = Invoke-RestMethod https://ipinfo.io/json | Select-Object -ExpandProperty ip if ( $currentIp -ne $dnsIp) { $Request = @(@{ttl=3600;data=$currentIp; })