That’s what the Public Suffix List is for