Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP - Search for Domain Name Availability [closed]

Tags:

php

dns

I guys.

I would like to know how to build on of those Domain Name Availability search that many hosting companies have.

I've looked around SO and found a Question about it, but the guy that asked it used a class for the hole job, and he didn't posted its code or referred any source.

Can somebody give me a hand how to build one for a website I'm building, using PHP of course.

Thanks.

like image 736
Fábio Antunes Avatar asked Dec 29 '22 19:12

Fábio Antunes


2 Answers

It's a pretty straight forward process as you are sending a request to whois-servers.net and evaluating the response. Check out the Bulk Availability Script at http://www.dnmedia.com/bulk_availability.php. It should do exactly what you need.

Check out the full article at http://dnmedia.com/the-power-of-whois/ which also has code for getting the domain owner's contact details.

like image 175
Terrell Miller Avatar answered Jan 01 '23 08:01

Terrell Miller


This might be a good place to start: Creating a domain checker

like image 35
George Claghorn Avatar answered Jan 01 '23 08:01

George Claghorn