NameSilo

Wanted Perl Script - Name your price

Spaceship Spaceship
Watch

jdk

VIP Member
Impact
98
I am looking for a script I can install to my server that will load a file called names.txt which I will have the following format:

Name.com
Name2.com

It will go one by one and check to see if the domain is available. If it is, it will take and open names_avail.txt and insert the available name at the bottom of the list. If the name is not available it will keep it in the list but add an * at the end of the domain ie) Name2.com* This will show it was checked and was not available.

I want to be able to execute the script using SSH and the command line on my server with a command like

> scan.pl names.txt

or something similar saying to run scan.pl and scan the file names.txt

Please PM me your asking price and time it would take for completion. I want it to be able to handle any amount of domain extensions.

I want to have this thing ridiculously fast.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
jdk said:
If the name is not available it will keep it in the list but add an * at the end of the domain ie) Name2.com* This will show it was checked and was not available.

What should the script do with these starred names? Print them to the screen? Dump them to a file called "names_unavail.txt"?
 
0
•••
Basically I have list names.txt full of domains. The script should open this file and go down the list one by one checking for availability. If the domain is available it should open a second file called names_available.txt or whatever and write that name to the file and close it. It then moves on to the next name. If the name is UNavailable it can either remove the name from the file and move on to the next. I want something that runs FAST and is not so resource intensive.

The program should read in a list and if there is a * after a domain i.e.) domain.com* it will know it has been scanned already and move on to the next name.

I mainly want COM/NET/ORG/INFO/US/BIZ/CC/SC/WS or as many extensions as I can get.

Another REQUIREMENT is to do the whois in a way the IP will not get banned from the whois server. This way I can scan 20,50,100 names per second.

I want to run the script from the command line so printing to the screen will likely take time, so it is could just say working and give me some sign it is scanning without limiting speed of the script however you do it is fine. It can do like Scanning 5/100 and count up or just say 5% 10% 15%

AND it must be able to handle list sizes of 50k, 100k or more
 
Last edited:
0
•••
Got it. But I didn't see your edits until I came back here to post.

I wrote something quick which uses Net::Whois::Raw from cpan, but it doesn't handle all the extensions you listed (I know I've seen Perl code somewhere that does, though), I doubt it can process the results of 50/100 names per second, and I also have no idea how to prevent getting banned from the whois servers. It's not hard to throttle request calls in the while() loop, but I just don't know the subtleties of each registrar's thresholds.

So...I'll have to leave this in someone else's hands, but in the interim, if you want me to post what I wrote, let me know.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back