View previous topic :: View next topic |
Author |
Message |
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Thu Mar 31, 2011 6:42 am Post subject: Domain Name Expire Check? |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Apr 13, 2011 4:23 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Fri Apr 15, 2011 11:17 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Apr 15, 2011 12:18 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
timn
Joined: 20 Nov 2003 Posts: 184 Location: United States
|
Posted: Mon Apr 25, 2011 1:26 pm Post subject: |
|
|
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 ![](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
xcentric
Joined: 23 Oct 2010 Posts: 176
|
Posted: Sat Aug 20, 2011 11:16 am Post subject: |
|
|
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. ![](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Aug 22, 2011 7:29 am Post subject: |
|
|
What exactly domain should we try?
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
xcentric
Joined: 23 Oct 2010 Posts: 176
|
Posted: Mon Aug 22, 2011 8:50 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Aug 22, 2011 8:57 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
xcentric
Joined: 23 Oct 2010 Posts: 176
|
Posted: Mon Aug 22, 2011 9:15 am Post subject: |
|
|
Thanks Alex.
Looking forward to v9. It's not a big deal for the short term.
Regards |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
bmekler
Joined: 17 Apr 2012 Posts: 38
|
Posted: Thu Apr 19, 2012 3:27 am Post subject: |
|
|
Doesn't work with whois.isoc.org.il - can't find expiration date. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Apr 19, 2012 4:09 am Post subject: |
|
|
What domain name can we check?
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
bmekler
Joined: 17 Apr 2012 Posts: 38
|
Posted: Thu Apr 19, 2012 4:18 am Post subject: |
|
|
Any .il domain name, for example ynet.co.il. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Apr 19, 2012 4:25 am Post subject: |
|
|
We will add support for this server in next version of HostMonitor.
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Fc01
Joined: 14 Jun 2012 Posts: 2
|
Posted: Thu Jun 14, 2012 3:35 am Post subject: whois.co |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|