Thanks, i think the save to text option didn't work with large list - hangs before showing the download list links. But with that option unchecked, it seems to be working.
Last edited by touchring : 01-22-2008 at 11:26 AM.
Quite probable lol. Like I and others have said, it's ribbled with bugs...threw it together pretty quickly and to be honest the amount of php I knew back then left a lot to be desired I will update it as promised when I find time
Mikor, thanks for that, I hadn't seen your post before. If I had know about that data before I would have used it - it's a new discovery to me and will no doubt come in handy!
It doesn't seem to work properly for dot org. I'm being blocked by whois.publicinterestregistry.net if i check more than a few domains. Is there a way around it? I mean, can i add some pause interval?
Can I just make comment? - don't mean to hijack your thread - you should not be using whois lookups to bulk check domain availability - unless you really need all that WHOIS info.
there are better , faster , more network friendly ways
1. for example run your domains through a simple dns check first - if there are dns servers showing , the domain must be registered (reverse not always true). for those with mac osx / linux :
[pbg42:~/Documents] paul% host -t ns nonexistantdomains.com
Host nonexistantdomains.com.lan not found: 3(NXDOMAIN)
[pbg42:~/Documents] paul% host -t ns takendomains.com
takendomains.com name server ns1.hozt.com.
takendomains.com name server ns2.hozt.com.
You can batch this easily with:
foreach var (`cat mylistofdomains.txt`)
host -t ns $var >> dnscheckresults.txt
sleep 1
end
the sleep is there to stop the script from going into meltdown
there are no limits with DNS lookups AFAIK
2. Or for lists with up to 500 keywords at a time of course just use a common bulk availablility check like the one at www.cheapnames.com (under bulk reg)
You can cut/paste and check thousands in a few minutes as cheapnames/godaddy/wwd (and other registrars) maintain their own lists of availability which give near instant results.
Heres my current (modded) copy. It has extra domain options such as LL-L and more, and several new domain extensions. I'm also making a modification to allow you to exclude certain letters...will release that bit at a later date.
PHP Code:
<?php
/*
SCRIPT CREATED BY MATTHEW @ NAMEPROS.COM -- MODDED BY RICKM @ NAMEPROS.COM
//echo'<table border = "1"><tr bgcolor="#E6FFCC">';
while($x >= $i)
{
///////////////////////////////////////////////////////////////////////////////
// Here is where we generate a random string of 3 in the format XXX
// This can be changed easily to the format LLN with this code instead:
///// $current = $chars[rand(0,25)].$chars[rand(0,25)].rand(0,35);
// Or to L-N with this code:
///// $current = $chars[rand(0,25)]."-".rand(0,9);
// Mix and match. Get what you're looking for! :P
switch($type)
{
case 'L-L':
$current = $chars[rand(0,25)]."-".$chars[rand(0,25)];
break;
case 'N-N':
$current = $chars[rand(26,35)]."-".$chars[rand(26,35)];
break;
case 'NNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'NNNNNN':
$current = $chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'LNL':
$current = $chars[rand(0,25)].$chars[rand(26,35)].$chars[rand(0,25)];
break;
case 'LLN':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(26,35)];
break;
case 'NLL':
$current = $chars[rand(26,35)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LL-L':
$current = $chars[rand(0,25)].$chars[rand(0,25)]."-".$chars[rand(0,25)];
break;
case 'L-LL':
$current = $chars[rand(0,25)]."-".$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'L-L-L':
$current = $chars[rand(0,25)]."-".$chars[rand(0,25)]."-".$chars[rand(0,25)];
break;
case 'LLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLLLLL':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)];
break;
case 'LLNN':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
case 'LLLN':
$current = $chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(0,25)].$chars[rand(26,35)];
break;
case 'LNNN':
$current = $chars[rand(0,25)].$chars[rand(26,35)].$chars[rand(26,35)].$chars[rand(26,35)];
break;
///////////////////////////////////////////////////////////////////////////////
// Here is where we start checking domains
// Feel free to add/remove domains or change whois servers
switch($ext)
{
case 'COM':
case 'NET':
$registry = "whois.nsiregistry.net";
break;
case 'ORG':
$registry = "whois.pir.org";
break;
case 'INFO':
$registry = "whois.afilias.net";
break;
case 'BIZ':
$registry = "whois.biz";
break;
case 'US':
$registry = "whois.nic.us";
break;
case 'CO.UK':
$registry = "whois.nic.uk";
break;
case 'IN':
$registry = "whois.inregistry.net";
break;
default:
$registry = "whois.nsiregistry.net";
}
You may have to adjust the "rand" part too, as it scans each part of the array based on its location (I.E 1 = "a", 2 = "b", 27 = "0" etc)
The one I'm doing will have some sort of checkbox list that lets you de-select the ones to display....quite easy to make. I'll probably release it over the weekend.