From a4d29036c5e6b7b29d1a97e6f14c064e534607c9 Mon Sep 17 00:00:00 2001 From: Timothy Miller <46549361+timothymiller@users.noreply.github.com> Date: Sat, 30 Jul 2022 21:22:54 -0400 Subject: [PATCH] Updated cdn-cgi/trace domain from 1.1.1.1 to cloudflare.com --- cloudflare-ddns.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudflare-ddns.py b/cloudflare-ddns.py index f4eecff..9ad3634 100755 --- a/cloudflare-ddns.py +++ b/cloudflare-ddns.py @@ -58,7 +58,8 @@ def getIPs(): global purgeUnknownRecords if ipv4_enabled: try: - a = requests.get("https://1.1.1.1/cdn-cgi/trace").text.split("\n") + a = requests.get( + "https://cloudflare.com/cdn-cgi/trace").text.split("\n") a.pop() a = dict(s.split("=") for s in a)["ip"] except Exception: