Hacker News new | ask | show | jobs
by OkayPhysicist 23 days ago
The real problem is that we'd have to add a wildcard to the public suffix list. That's it.

The public suffix list is the big list of all the URL suffixes that should not imply shared ownership of all their subdomains. For example the line

com

says "XYZ.com" and "ABC.com" should not be assumed to be controlled by the same entity.

Problem is, all 1st level domains registered to the .name TLD should be added to the list, and that's a lot of domains. The correct answer, IMO, would be to add a wildcard

*.name

but that would involve updating all the code that relies on the public suffix list to support said wildcard.

2 comments

The "real" problem is the public suffix list. All domains should be considered public, that is, a sub domain gains no trust from it's parent domain.

There is a good argument that the public suffix list should be distributed via dns, and it is easy to propose a scheme for it. Two I know of are. A specific public suffix record marking a domain public or private. The presence of a soa record which already transfers the authority of a domain, should be used to determine if that sub domain is public or private.

But private unless in some third party list is the worst way to handle it.

*.name isn't a good solution either, because the vast majority of registrations are at the second level.

If you want to do it properly, you really do need to include all of the second level domains that have more than one third level registrant. And update that periodically as domains expire... there might be three registrants under .example.name today, but if they all (or all but one) stop paying, example.name is no longer a public suffix and it should be removed.

Having "no cookies shared between subdomains" as a restriction on the entire TLD isn't completely beyond the pale. There are other TLDs that have restrictions, like HTTPS being required for .dev
Having it imposed on existing registrants after the fact really is beyond the pale, IMHO.

It'd be one thing if it was there since the beginning, like https for .dev, but it would probably break existing sites if you add it after the fact.

With only 22000 registrants, the number of sites broken might be just a handful.
It's not 22000 registrants for .name, it's 22000 registrants of third level domains. There's lots more second level registrations in .name; it is massively more popular to register a second level domain, but it wasn't always an option.
How can they enforce that? If my DNS config points www.mydomain.dev to my vps, what can prevent me from answering on port 80?
No cookie sharing between subdomains is enforced client-side, not server side.