0

I'm trying to automate the process of sending many domain name lookup requests.

I tried to do this by sending for example http request to domain registry site like Whois.net, but I notice they block you after several attempts.

others like networksolutions adds token to the page to avoid automated requests.

Is there any ideas please?

I'm using Java.

2
  • 2
    Find a service that offers an API and pay them.
    – Oded
    Feb 16, 2014 at 16:31
  • 1
    I think what @Oded is saying is that there's a reason nobody gives this functionality away for free. Your best best, as Oded mentioned, is to actually pay a service for this.
    – MetaFight
    Feb 16, 2014 at 16:49

2 Answers 2

1

You are currently going through middlemen (remote web servers) instead of querying the information more directly.

There's a program on your host system called whois (which is what that whois.net site is named after!) which you can call as a subprocess, and the information out of it isn't usually too hard to parse. Theoretically, you could write the client in Java directly, but why would you bother to duplicate all that effort?

1
  • Some registries also block automated (too frequent) whois protocol requests. Feb 16, 2014 at 22:19
0

While whois is often used as a method to determine domain name availability, it is not always real-time or accurate.

The best and proper way to do this would be to become an accredited registrar for the TLDs in question and use the registry's APIs (which usually work with the extensible Provisioning Protocol (EPP)) to determine availability.

How easy and cheap this is would depend on how many TLDs need to be supported. Another cheaper option with some limits would be to become a reseller that has has an API and supports the TLDs in question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.