whois-guess-server

whois-guess-server is a variable defined in `net-utils.el'.
Its value is
t


Documentation:
If non-nil then whois will try to deduce the appropriate whois
server from the query. If the query doesn't look like a domain or hostname
then the server named by `whois-server-name' is used.

You can customize this variable.