sanchez77 Posted December 26, 2010 Share Posted December 26, 2010 I was wondering if anyone knew of a good way to query domain name availability with php? Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/ Share on other sites More sharing options...
QuickOldCar Posted December 26, 2010 Share Posted December 26, 2010 Explain better please. Do you mean a check if a domain is alive or dead, or if is registered already? If talking about alive or dead I have a pretty fast script for for that, but that just tells you if the domain is currently online or not. As for registered domains....well most use some type of whois query, because these change hands so much and is so many of them. The downfall is whois doesn't have every top and second level domain. I came up with there's about 500 all together for all the countries. So looking at whois at just those popular one's they have there, this falls way short. Sadly the registrars of all countries will not provide lists if beg or even pay them. (yes I tried) If need a whois script, this one works very well. http://www.phpwhois.org/ If planning on doing the entire world and have adequate servers piles of drives and bandwidth....I could help, I got the stuff to already do this but I just don't. Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151458 Share on other sites More sharing options...
sanchez77 Posted December 26, 2010 Author Share Posted December 26, 2010 sry, if it is registered or not Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151460 Share on other sites More sharing options...
QuickOldCar Posted December 26, 2010 Share Posted December 26, 2010 If this helps here are the domain lists from whois, most scripts do checks to see if they exist there or not. http://who.is/whois_index/index.php Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151464 Share on other sites More sharing options...
revraz Posted December 26, 2010 Share Posted December 26, 2010 Something like this? http://www.cyberciti.biz/tips/domain-check-script.html Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151473 Share on other sites More sharing options...
QuickOldCar Posted December 26, 2010 Share Posted December 26, 2010 That one seems to show more like when one is about to expire. Try something like this, because can update or modify it to your needs. http://www.weberdev.com/get_example-4603.html Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151475 Share on other sites More sharing options...
sanchez77 Posted December 26, 2010 Author Share Posted December 26, 2010 thanks veryone for your help. I am trying to basically query a domain to see if it's available. I liked the example on http://www.weberdev.com/get_example-4603.html The problem I am having running that code is it returns the error not able to open the port 43. Not sure if it's the server or me. Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151477 Share on other sites More sharing options...
sanchez77 Posted December 26, 2010 Author Share Posted December 26, 2010 Just wanted to provide a link to what i ended up using. http://www.soaptray.com/blog/2008/08/php-domain-availability-lookup/ thanks for the help PHP RULES! Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1151556 Share on other sites More sharing options...
thilak Posted July 17, 2011 Share Posted July 17, 2011 For the good DNS lookup , I visit this site http://www.whoisxy.com/domain-to-ip.aspx It has the best information of IP address, IP address to domain, domain name to IP,domain name, DNS lookup., IP address lookup and ping test !!! Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1243634 Share on other sites More sharing options...
andy10901 Posted July 17, 2011 Share Posted July 17, 2011 http://www.000000000000000000000000000000000000000000000000000000000000000.com/ wtf who would pay for a domian so its that long wast of money if you ask me Quote Link to comment https://forums.phpfreaks.com/topic/222651-domain-look-up/#findComment-1243643 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.