Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

[Resolved] PHP Whois

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Impact
91
PHP whois

hi

please tell me what php code do i have to write for getting the whois information of a particular domain from the registry?

i am looking for only .com and .net registries right now

thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
monaco said:
What I'd like to know is how you get around the issue of some registrar's not listing complete info in their whois registries and forcing you to use a web interface with a captcha to get the information.

Have you got an example of such a domain that requires this?

champ_rock said:
ya it is denying my requests.

this is happening after i check about 10-12 domains :(

if anyone finds a solution to this then it would be great


The only possible solutions are as follows:-

1) Find out how many queries you can make in x amount of time and use sleep or usleep to ensure you do not do too many queries.
2) Use more than 1 whois server to find the results.
3) Use a bank of proxies that will help.

The best solution is a combination of options 1 and 2. Option 3 should be avoided as it could end up you being permanently banned from using the whois server in question.
 
0
Close
Thanks for this tool!
Can anybody just tell how to get the available or not status? I mean if the domain is available show XXXX and if not show "YYYY"

Thanks!
 
0
Close
peter@flexiwebhost said:
The only possible solutions are as follows:-

1) Find out how many queries you can make in x amount of time and use sleep or usleep to ensure you do not do too many queries.
2) Use more than 1 whois server to find the results.
3) Use a bank of proxies that will help.

The best solution is a combination of options 1 and 2. Option 3 should be avoided as it could end up you being permanently banned from using the whois server in question.
1. i do not think there is any time limit. i have tried sleep(5) and sometimes it gives me an error with that also. sometimes it runs fine even without any sleep

2. different whois servers is definately a help. i will rotate between those three servers that u mentioned

3. proxies: i think that requires
a. more advanced coding which i am not familiar with
b. good proxies are hard to find therefore the script will hardly function when any proxy goes down
 
0
Close
are you running that on your local server ? or on real hosting ?

Maybe if its on real hosting (exp. GoDaddy) there are more
whois lookups from other machines / ppls trying to register domains etc.
 
0
Close
it is on a shared hosting. the servers are at "LayeredTech"

i think that might be the case. i will try to switch my hosting for this purpose. may be it will work then
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back