From ceeb0113667070301ae686c057f9173cfc94e053 Mon Sep 17 00:00:00 2001 From: Timothy Miller <46549361+timothymiller@users.noreply.github.com> Date: Sun, 31 Jul 2022 15:55:59 -0400 Subject: [PATCH] Updated the domain used to fetch IPv4 from cloudflare. --- cloudflare-ddns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-ddns.py b/cloudflare-ddns.py index 8861a1c..a99238b 100755 --- a/cloudflare-ddns.py +++ b/cloudflare-ddns.py @@ -59,7 +59,7 @@ def getIPs(): if ipv4_enabled: try: a = requests.get( - "https://cloudflare.com/cdn-cgi/trace").text.split("\n") + "https://1.1.1.1/cdn-cgi/trace").text.split("\n") a.pop() a = dict(s.split("=") for s in a)["ip"] except Exception: