Skip to content

Commit c5dd40e

Browse files
committed
solve: DNS checking other IPs
1 parent 9308c98 commit c5dd40e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def handle_request(socket_client):
1717
dns_client.close()
1818
socket_client.send(f"{addr['ip']}:{addr['port']}".encode())
1919
socket_client.close()
20+
return
2021
except:
2122
print(f"{addr['ip']}:{addr['port']} is down.")
2223
continue

0 commit comments

Comments
 (0)