public_suffix (rubygems): PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
Keywords: psl|publicsuffix|ruby