-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I saw someone on reddit (discussion here) with an interesting issue with getting this to work using a PC image
Lines 51 to 57 in 4937c80
| for host in IP_ADDRESS_LIST: | |
| try: | |
| socket.setdefaulttimeout(timeout) | |
| socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect((host, port)) | |
| return True | |
| except socket.error: | |
| pass |
with the timeout: timed out message I suspect that socket.timeout exceptions should also be given a pass, particularly if the DNS server being tested not respond to TCP connections on port 53
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
