Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script to perform domain expiry searches

Posted on 2013-11-21
7
Medium Priority
?
359 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 41

Accepted Solution

by:
Eoin OSullivan earned 2000 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 41

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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 

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 41

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 41

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
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…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …

916 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