I'm working on a url categorizer webservice wherein,the input url is classified using the naive-bayes classifier.
For this I firstly need to check if the domain name of the input url is valid and in service (i.e. not expired).
I have tried the using the Whois lookup api in my java program to find the expiry date of domain name.
But that has some shortcommings-
1. It supports only a set of TLD's (i.e. Does not support .tv, .com.au etc.).
2. The expiry date mentioned is not accurate.
For example- When checked in browser 'aparichitudu.com' displays the content as- "Domain not active."
But the Whois lookup describes the domain name status as "OK" and its expiry date as "20-06-2015" which means the domain is active.
Is there any other way by which I can determine wheather the domain name is in service or not ?