whois queries a very large, and very different, set of registers depending on the domain name. You can get a simple idea of how many by means of
strings /usr/bin/whois | grep whois
On my Debian, this results in 261 different subdomain registers. It turns to whois.networksolutions.com only when all other options have been exhausted.
You can answer that question more precisely by downloading the original code,
mkdir tmp
cd tmp
sudo apt-get source whois
cd whoisXXX
and then you have all the servers to be contacted listed in several files, free for you to peruse.