Skip to content

Commit 94cfdf3

Browse files
authored
use Cloudflare as standard DNS Inet test server
1 parent 9651ee8 commit 94cfdf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/penv_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
}
4747

4848

49-
def has_internet_connection(host="8.8.8.8", port=53, timeout=2):
49+
def has_internet_connection(host="1.1.1.1", port=53, timeout=2):
5050
"""
51-
Checks if an internet connection is available (default: Google DNS server).
51+
Checks if an internet connection is available (default: Cloudflare DNS server).
5252
Returns True if a connection is possible, otherwise False.
5353
"""
5454
try:

0 commit comments

Comments
 (0)