mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
Updated cdn-cgi/trace domain from 1.1.1.1 to cloudflare.com
This commit is contained in:
@@ -58,7 +58,8 @@ def getIPs():
|
|||||||
global purgeUnknownRecords
|
global purgeUnknownRecords
|
||||||
if ipv4_enabled:
|
if ipv4_enabled:
|
||||||
try:
|
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.pop()
|
||||||
a = dict(s.split("=") for s in a)["ip"]
|
a = dict(s.split("=") for s in a)["ip"]
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user