KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Domain Name Expire Check?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Library
View previous topic :: View next topic  
Author Message
timn



Joined: 20 Nov 2003
Posts: 183
Location: United States

PostPosted: Thu Mar 31, 2011 6:42 am    Post subject: Domain Name Expire Check? Reply with quote

Alex,

Our company manages in excess of 250 domain names. There is no centralized/designated "domain person" - different departments have their own agendas.

Inevitably, miscommunication results in domain names being allowed to expire when the shouldn't have. I've been asked if I can add expiration date checks to Advanced Host Monitor for domain names.

I already use your Certificate check script for several of our SSL certs.

I was wondering if it would be practical/feasible for you to adapt the WHOIS portion of your IP Tools code to create a script to check the expire date of a given domain name. It would work similar to your Certificate expire script. I'm thinking:

Usage: domaincheck.exe -domain:<domain_name> [-whois:<whois_server>] [-threshold:<days>] [-withinfo] [-timeout:<timeout>]

Parameters:
-domain : Name of the domain to check
-whois : Whois server to query
-threshold : Alert when domain expires in NN days or less. Default: 0
-withinfo : Tells the program to domain info
-timeout : Communication timeout (msec).

Examples:
domaincheck -domain:mydomain.com
domaincheck -domain:mydomain.com -whois:whois.godaddy.com

Thanks,

Tim
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Wed Apr 13, 2011 4:23 pm    Post subject: Reply with quote

Sorry, for delay.
Its hard to make utility that will work with all WhoIs server because such servers provide output in different formats, basically result of WhoIs request is just a text.

Anyway, there is such utility www.ks-soft.net/download/utils/domaincheck.zip
=============================
Usage: domaincheck.exe -domain:<domain_name> [-whois:<whois_server>] [-threshold:<days>] [-timeout:<timeout>]

Parameters:
-domain: Domain name to check
-whois: Whois server used for the query. Default: whois.internic.net
-threshold: Alert when domain registration expires within N days. Default: 7
-timeout: Communication timeout (msec). Default value: 5000 ms

Example: domaincheck.exe -domain:google.co.uk -whois:whois.nic.uk -timeout:800
=============================

It works with popular whois servers. If it will not work with your "favorite" server, just provide access to the server or sample of output and we will modify utility.

Also it works with some delays on Windows 7 x64... we did not find a fix yet.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
timn



Joined: 20 Nov 2003
Posts: 183
Location: United States

PostPosted: Fri Apr 15, 2011 11:17 am    Post subject: Reply with quote

It works great for our needs! Just 2 whois servers for all the domains and both work with your shell script!

The only problem was that I shot myself in the foot when I enabled all the tests at once. This caused the remote WHOIS server to throttle me for a couple hours. So I went in and varied the time intervals on all the tests so as to be considerate of the WHOIS server. Works fine now.

Thanks! You guys rock. As always....
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Fri Apr 15, 2011 12:18 pm    Post subject: Reply with quote

You are welcome

Probably you can use "Non-simultaneously test execution" option for the folder where WhoIs tests located.
With this option enabled tests that located in the folder will not be executed at the same time.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
timn



Joined: 20 Nov 2003
Posts: 183
Location: United States

PostPosted: Mon Apr 25, 2011 1:26 pm    Post subject: Reply with quote

Thank you! "Non-simultaneously test execution" is exactly what I needed!

I've been using Host Monitor for nearly 8 years. But I think it may be time for me to go back and re-read the user's manual again
Back to top
View user's profile Send private message
xcentric



Joined: 23 Oct 2010
Posts: 176

PostPosted: Sat Aug 20, 2011 11:16 am    Post subject: Reply with quote

Another great tool.

Just tried with .biz domains and get:

Code:
- Status: Unknown
- Reply: Can't find expiration date


I used whois.biz and whois.internic.net. Other tld's are good.

Regards

BTW, this is my 100th post.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Mon Aug 22, 2011 7:29 am    Post subject: Reply with quote

What exactly domain should we try?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
xcentric



Joined: 23 Oct 2010
Posts: 176

PostPosted: Mon Aug 22, 2011 8:50 am    Post subject: Reply with quote

So far any .biz domain returns no expiration date. Even the mother herself whois.biz comes up empty. You could try [removed] also.

Regards


Last edited by xcentric on Mon Aug 22, 2011 9:12 am; edited 1 time in total
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Mon Aug 22, 2011 8:57 am    Post subject: Reply with quote

Well, we implemented this test as built-in test in HostMonitor version 9.00 and made some improvements in HostMonitor code.
So it works with whois.biz server and as I see checks various .BIZ domains just fine (including integrityinspections.biz).

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
xcentric



Joined: 23 Oct 2010
Posts: 176

PostPosted: Mon Aug 22, 2011 9:15 am    Post subject: Reply with quote

Thanks Alex.

Looking forward to v9. It's not a big deal for the short term.

Regards
Back to top
View user's profile Send private message
bmekler



Joined: 17 Apr 2012
Posts: 30

PostPosted: Thu Apr 19, 2012 3:27 am    Post subject: Reply with quote

Doesn't work with whois.isoc.org.il - can't find expiration date.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Thu Apr 19, 2012 4:09 am    Post subject: Reply with quote

What domain name can we check?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
bmekler



Joined: 17 Apr 2012
Posts: 30

PostPosted: Thu Apr 19, 2012 4:18 am    Post subject: Reply with quote

Any .il domain name, for example ynet.co.il.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11947
Location: USA

PostPosted: Thu Apr 19, 2012 4:25 am    Post subject: Reply with quote

We will add support for this server in next version of HostMonitor.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Fc01



Joined: 14 Jun 2012
Posts: 2

PostPosted: Thu Jun 14, 2012 3:35 am    Post subject: whois.co Reply with quote

I have some .co domains and I can't seem to find the whois.co server in the list of servers.

Would it be possible to add this?

regards.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Library All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index