PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Simone Carletti
June 10, 2016 7:45am
MIT