diff --git a/gandi-ddns.py b/gandi-ddns.py index cd20c29ec4a4a938a723c03bdc9c37a7f1ee9d91..6bee5045e9dff056bd1e51b85fb585d18aed5074 100755 --- a/gandi-ddns.py +++ b/gandi-ddns.py @@ -13,7 +13,7 @@ def get_ip(): #Get external IP try: # Could be any service that just gives us a simple raw ASCII IP address (not HTML etc) - r = requests.get('http://ipv4.myexternalip.com/raw', timeout=3) + r = requests.get('https://api.ipify.org', timeout=3) except Exception: print('Failed to retrieve external IP.') sys.exit(2)