Get the top level domain, subdomains and labels for a domain