On Jun 1, 2018, at 12:25 AM, Jon Callas <joncallas(_at_)icloud(_dot_)com>
wrote:
...
Does “example.com” match “mail.example.com”? Either yes or no is completely
reasonable. Does “*.example.com” (which obviously matches “mail.example.com")
match “example.com”? In this case, I think that the answer is yes, but gentle
persons can disagree. I’d just roll my eyes if you said no, because yeah,
sure, there’s no problem in having your list of domains have both
“example.com” and “*.example.com” to be explicit about it. I see the point.
Matching domains is indeed hard, but people are working on it. You may want to
check the list of public prefixes maintained by Mozilla et al as an open source
project:
https://github.com/publicsuffix/list
-- Christian Huitema
_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp