When you do:
$ whois stackoverflow.com
does your Linux first do a DNS query, find the IP of stackoverflow.com, and then ask the information directly there?
Or does it ask a "root" whois server (is the IP of the "root whois server" hardcoded in a Linux distribution, in a similar fashion to /etc/bind/db.root
?), which then delegates to another whois server who gives the information?
What is the connection flow?
my computer doing `whois ...` ---> root whois server ---> another whois server ---> information
or
my computer doing `whois ...` ---> DNS server (?) ---> ... ?
whois
to use another WHOIS server than verisign-grs? I didn't find it inman whois
. – Basj Nov 24 '17 at 10:50whois.name.com
. Does this mean that every registrar has to have a registrar-whois server? When doingwhois google.fr
it doesn't seem to query another whois than the hardcoded-in-whois one, i.e. whois.nic.fr. Is that right? – Basj Nov 24 '17 at 10:51whois
is Marco d’Itri (Marco is a Debian developer). The option you’re looking for is-h
(seewhois -h whois.name.com stackoverflow.com
). Registrars don’t all have to have a WHOIS server; only the “authoritative” registrar for a TLD does AFAIK. Thus ingoogle.fr
’s case, the registrar is MARKMONITOR, but the information comes from AFNIC which is the TLD registrar for.fr
. – Stephen Kitt Nov 24 '17 at 12:47whois stackoverflow.com
I get very few information, but when doingwhois -h whois.name.com stackoverflow.com
I get much more informations (Admin Organization: Stack Exchange, Inc.
, street address, etc.) that I don't get when doingwhois stackoverflow.com
. Is it the expected behaviour ofwhois
, i.e. you have to first dowhois domain.com
, then looking at the whois server, you have to redo awhois -h ... domain.com
to have more informations? Shouldn'twhois
do all of this directly when he finds a registrar whois? – Basj Nov 24 '17 at 13:27whois stackoverflow.com
does go and ask whois.name.com itself (at least, it does in version 5.2.17). You might be running into rate limiting issues, whois.name.com blocks you temporarily if you issue too many requests (but you get an error message). If I dumpwhois stackoverflow.com
andwhois -h whois.name.com stackoverflow.com
and compare them, I get exactly the same name.com output in both cases. – Stephen Kitt Nov 24 '17 at 13:55whois
5.2.17 (which is the current version in Debian 9). – Stephen Kitt Nov 25 '17 at 19:42