Public Suffix List
Posted4 months agoActive4 months ago
publicsuffix.orgTechstory
calmneutral
Debate
40/100
Public Suffix ListDNSSecurity
Key topics
Public Suffix List
DNS
Security
The Public Suffix List (PSL) is a critical resource for managing domain names, and the discussion highlights its importance, usage, and potential issues with its maintenance and updates.
Snapshot generated from the HN discussion
Discussion Activity
Active discussionFirst comment
3d
Peak period
18
72-84h
Avg / period
8.3
Comment distribution25 data points
Loading chart...
Based on 25 loaded comments
Key moments
- 01Story posted
Sep 8, 2025 at 8:56 AM EDT
4 months ago
Step 01 - 02First comment
Sep 11, 2025 at 2:07 PM EDT
3d after posting
Step 02 - 03Peak activity
18 comments in 72-84h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 12, 2025 at 5:32 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45167688Type: storyLast synced: 11/20/2025, 1:35:57 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
I was looking at this in terms of trying to keep an app up-to-date, and there was a lot more churn than I expected. If you have a security reason to be reading this, you may need to put some effort into maintaining this... at least, technically. I doubt there's hardly an app out there "properly" keeping up with this and the world seems to largely hold together even so.
This is just one cautionary tale I have personally experienced.
https://www.dns.pl/en/list_of_functional_domain_names
For instance, https://data.iana.org/TLD/tlds-alpha-by-domain.txt
Where is .co.uk ? That is - for all intents and purposes - considered a TLD.
So PSL is currently doing double-duty and the distinction is very important.
Edit: I still think that domains hosted with major dyndns services (like freedns.afraid.org) should be treated like PSLs.
https://github.com/publicsuffix/list/issues/271#issuecomment...
https://news.ycombinator.com/item?id=35884437#35894287
If somebody asked me what domain you’re using and you said “com”, you would technically have answered accurately but they’d be confused.
There are ~90 prior comments concentrated mostly in two prior submissions from 2016 and 2021 so far: https://news.ycombinator.com/from?site=publicsuffix.org
This is the top comment on the 2021 discussion:
> Before you begin to make use of the PSL, consider some of its problems: https://github.com/sleevi/psl-problems
There are another couple dozen comments on a few submissions of that: https://news.ycombinator.com/from?site=github.com/sleevi
HN frequently suggests that DNS should be used to solve this; sleevi replied a few years back with:
> This has been a common suggestion since before the Publix Suffix List existed, as you can see from the linked issues in the text (and the references to the IETF DBOUND WG). Like most things, on first glance, it seems like it does make sense. Except it has a lot of issues, which you can see have been discussed for 15 years without resolution, even though yes, it would scale better.
I came across the PSL when a state government department contacted my consultancy and asked what the impact would be of uncommenting a line in the PSL. They were focused on the effect this would have on DMARC and SPF records of child agencies under the parent TLD, but I realised that it also meant that cookies that could previously be shared across agency boundaries would suddenly be siloed at a different level, potentially breaking web apps. (Think authentication portals using shared cookies across a bunch of things.)
But how to test this!?
I discovered that the PSL is embedded in browser executables when they’re compiled. So I came up with the approach of making two Chromium builds, one with the PSL change and one without the change. Since it has a nice blue icon I changed the modified build to have a red icon. I called these the “red pill” and “blue pill” versions.
The idea was that web devs could test their sites with the two nearly identical browsers side-by-side and so any observed difference is a sign of a potential issue. I also used Playwright to scan over ten thousand public URLs with both a compared the traces programmatically.
Another trick I used was to spin up spot priced “HPC” instances in Azure with 120 AMD EPYC cores to run the builds.
One of the most fun projects I’ve ever worked on.
No, they never changed the PSL, it’s still incorrect.
I only found one site that has an issue, but that made them too nervous and they gave up…
TXT v=ps1 ;trust boundary at this point
TXT v=ps2 exception1.my.network. ; trust boundary with exceptions at this point
And then let the big operators argue for a few years on why this in insufficient and we need a complicated dsl (cough spf cough) v=ps3. and what to do when both ps1 and ps2 entries exist. (confused operator, ignore exceptions)
edit: After reading https://github.com/sleevi/psl-problems maybe the standards organizations just don't think it's a good idea