Hello,
Please try to use UDP protocol for your queries in this scripts beacause the port TCP/43 is firewalled on my server.

I have a blank page after run whois.

Thanks.