2

I can't seem to locate which whois servers this library uses, where in the code does it have the URL of the server(s) it connects too?

I'm not sure I understand how whois actually works, but I am assuming it connects to popular registrars API's correct?

Does this mean that if I try and run a whois for thousands of entries I will be rate limited and the response will begin to fail?

cool breeze
  • 4,461
  • 5
  • 38
  • 67

1 Answers1

2

The WHOIS server definition list is available at https://github.com/weppos/whois/blob/master/data/tld.json

It doesn't connect to popular registrars API, instead the WHOIS itself is a protocol and the library connects to the WHOIS interfaces provides by registries, whenever applicable.

Each registry has custom rate limiting rules. However, if you perform a large amount of requests, there is an high change you will start being rate limited.

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364