PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
March 10, 2014 1:41pm
MIT