How can I find out whois server for a specific domain?

I'm trying to make a desktop application that checks whois entries by the way, and I found several lists mapping top-level domains to whois servers. They work normally, but sometimes the information needs to be found on another whois server. For example, if the main server for com domains is whois.markmonitor.com , about.com must be obtained from "corporatedomains". How to check which whois server should request a specific domain?

+6
whois
source share
1 answer

There are two types of WHOIS servers: thin and thick.

From Wikipedia

WHOIS information can be stored and retrieved according to a thick or thin data model:

Fat

one WHOIS server stores all WHOIS information from all registrars for a particular data set (for example, one WHOIS server can respond with WHOIS information for all .org domains).

Thin

one WHOIS server stores only the name of the WHOIS server of the domain registrar, which, in turn, has complete information about the data viewed (for example, the WHO.ISIS server, which refers to the WHOIS request for the registrar in which the domain is registered).

Thick WHOIS Servers are available on the IANA website. For example, here is the IANA entry for IT TLD .

Scroll down to

 WHOIS Server: whois.nic.it 
Servers

Thin little harder. You need to request the primary WHOIS server (available in IANA), and then extract the referral.

For example, here is an entry for example.com . Verisign's answer (the first WHOIS .COM server) returns some information, including Whois Server .

 Server Name: EXAMPLE.COM.AU Registrar: ENETICA PTY LTD Whois Server: whois.enetica.com.au Referral URL: http://www.enetica.com.au 

Then you need to extract the WHOIS server and run the second request.

A list of all available WHOIS servers is included in my Ruby Whois project. Check the definitions folder .

+9
source share

All Articles