Domain Name Expire Check?
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
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
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
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
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....
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....
Another great tool.
Just tried with .biz domains and get:
I used whois.biz and whois.internic.net. Other tld's are good.
Regards
BTW, this is my 100th post.
Just tried with .biz domains and get:
Code: Select all
- Status: Unknown
- Reply: Can't find expiration date
Regards
BTW, this is my 100th post.