Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to perform domain expiry searches

Posted on 2013-11-21
7
Medium Priority
?
357 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 40

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 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
Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

 

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

705 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