Updated cdn-cgi/trace domain from 1.1.1.1 to cloudflare.com
This commit is contained in:
parent
ef4e3a5787
commit
a4d29036c5
@ -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