Use public suffix list
Opened this issue · 0 comments
vlofgren commented
Currently the domain name parsing is a bit of an idiot and trying to guess based on some heuristic where the "TLD" ends and the rest of the domain begins. The civilized way of doing this is to use the public suffix list to do this, as the TLD in a DNS sense isn't particularly informative.
Need to build a parser and stick it into a data structure that makes the processing fast since we're parsing quite a number of domains... Maybe move stuff outside of EdgeDomain
as well.