whois in Linux is incredibly out of date and does not seem to recognize most new TLDs domains, but there is a quick and easy tip/hack/tweak for this.
An example of new TLD's site as .review .site .club
whois somesite.club
No whois server is known for this kind of object.
bash to the rescue
Now I did try to apply this in .bashrc but DO NOT! I think the * wildcard or something else in the code causes a recursive infinite loop that will slow or cash your computer. (I am not kidding I had a load of 1000!).
1.) The bash script (finds the whois server for the .tld and queries it):
#!/bin/bash
server=$1
whois -h `whois "$1" -h whois.iana.org| grep whois\:| sed -e s/whois\:\\s*//` "$1"
2.) Save it to a file in your home ~/whoisserver.sh
3.) Edit ~/.bashrc
Add the following:
function whois() { /home/yourdir/whoisserver.sh $1; }
To apply instantly in your current shell/bash:
source .bashrc
The reason I used a function is because it supports variables whereas a bash "alias" does not.