
PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
The Public Suffix List is a catalog of certain Internet domain names. The term is also known by the form effective top-level domain (eTLD). This list is used for the security and privacy policies of web application.