I’m trying to make a desktop application checking whois records among other things and I’ve found a few lists mapping top-level domains to whois servers. They work usually, but sometimes information has to be found on a different whois server. For example while the main server for com domains is whois.markmonitor.com, about.com has to be fetched from “corporatedomains”. How do I check which whois server should I query for a certain domain?
I’m trying to make a desktop application checking whois records among other things and
Share
There are two kind of WHOIS servers: Thin and thick.
From Wikipedia
ThickWHOIS servers are available on the IANA website. For example, here’s the IANA record for the IT TLD.Scroll down to
Thinservers are a little bit more complicated. You need to query the main WHOIS server (available on IANA), then extract the referral.For example, here’s the record for example.com. The response from Verisign (the first
.COMWHOIS server) returns some information including theWhois Server.Then you need to extract the WHOIS server and run a second query.
A list of all available WHOIS servers is included in my Ruby Whois project. Check the
definitionsfolder.