From 5ca0fcd87ceda665aee7240fa89a01e0316ce332 Mon Sep 17 00:00:00 2001 From: Stathis Xantinidis Date: Fri, 15 Dec 2023 10:58:13 +0200 Subject: [PATCH] Changed whois provider domain to whois.iana.org The previous was giving timeouts --- plugins/Internet/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Internet/plugin.py b/plugins/Internet/plugin.py index c9822dd08..d9993db1b 100644 --- a/plugins/Internet/plugin.py +++ b/plugins/Internet/plugin.py @@ -158,7 +158,7 @@ class Internet(callbacks.Plugin): if not status: status = 'unknown' try: - t = telnetlib.Telnet('whois.pir.org', 43) + t = telnetlib.Telnet('whois.iana.org', 43) except socket.error as e: irc.error(str(e)) return