Solved

Script to perform domain expiry searches

Posted on 2013-11-21
7
352 Views
Last Modified: 2013-11-24
Hi - I'm interested in a script to use to monitor domains expiration.  The script to perform a lookup and return whois status, and expiry date etc.

This is basically to allow me to keep an eye on some domains that I'd like to register if and when they become available.

This is not to pipe a single domain, but a long list, >50domains.

Are there any free scripts out there already?


If not how easy is it to do this?
0
Comment
Question by:TheDadCoder
  • 4
  • 3
7 Comments
 
LVL 40

Accepted Solution

by:
Eoin OSullivan earned 500 total points
ID: 39665582
Different domains .com, .co.uk, .ca etc have different registry authorities and it can be quite complex to parse the different responses to extract the expiry dates.

Personally I prefer the Domain Name Analyzer program by Softnik - http://www.softnik.com/download/

The free version is great but if you're managing lots of names look at their Watch My Domains Pro application.  I've also used Domainer by Rage SW which is quite good too - http://www.ragesw.com/products/domainer.html
0
 

Author Comment

by:TheDadCoder
ID: 39666157
Hi , thanks for the response.

the first one looked promising, but doesn't seem to correctly report on pending delete domains.

fonze.info for example, (just a random domain that expired on 8 Sept 13, and apparantly is scheduled for deletion on 23 Nov 13, two days from now).  The software doesn't report that it's pending delete, hmmm.

The other costs fifty dollars so not up my street.

Thanks anyway.
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 39666213
In the DNA app you can choose what whois server to use for each domain name such as .info

When i tested the fonze.info in DNA it does identify that it is pending deletion but nowhere in the returned record does it show the deletion date.  It shows an expiry of 8 Sept 2014.
Where are you getting the DELETION Date as this is not a standard field in the whois record?

http://info.info/find-domain/fonze.info
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:TheDadCoder
ID: 39666226
That's curious!   Whois says it expired sept 14, but http://www.pool.com/viewlist.aspx says it's due to be deleted in a few days.

This is just a random domain i used to test the app.  So don't know if that website works!
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 39666275
Welcome to the shady world of domain name registration and management!!  It can be very hard to determine if expired domains are truly unlocked and available or if the registrar has suspended it and registrant is behind on payments or one of a hundred other reasons.  

There are also unscrupulous registrars who reserve thousands of domain names but don't pay for them and try and sell them on at inflated prices as "expired".  Often the master database is not accurate as the registrar hasn't forwarded the details as they are holding onto the domain in case they can re-sell it or the original registrar returns.
0
 

Author Comment

by:TheDadCoder
ID: 39666291
Thanks, but surely this is possible using a script.

I use a mac and it has a whois script built in.

Any able to parse the whois output?
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 39666376
You could probably do something with PERL and put an applescript wrapper around it
https://metacpan.org/pod/Net::Whois::Parser

You can create an appleScript to call the shell command whois with a domain name .. and return the results ...
https://discussions.apple.com/thread/2499327
but you'll then have to parse the results and look for the specific fields you want (which will change depending on the domain registrar server) and extract the fields and store in some form of text file.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Swadhin
Introduction of Lists in Python: There are six built-in types of sequences. Lists and tuples are the most common one. In this article we will see how to use Lists in python and how we can utilize it while doing our own program. In general we can al…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to count occurrences of each item in an array.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question