Changed whois provider domain to whois.iana.org

The previous was giving timeouts
This commit is contained in:
Stathis Xantinidis 2023-12-15 10:58:13 +02:00 committed by Val Lorentz
parent 06c88581ec
commit 5ca0fcd87c

View File

@ -158,7 +158,7 @@ class Internet(callbacks.Plugin):
if not status: if not status:
status = 'unknown' status = 'unknown'
try: try:
t = telnetlib.Telnet('whois.pir.org', 43) t = telnetlib.Telnet('whois.iana.org', 43)
except socket.error as e: except socket.error as e:
irc.error(str(e)) irc.error(str(e))
return return