News for hackers. Stuff that matters.
Re:Show HN: An interactive guide to how browsers work by ranger_danger on Sunday January 04, 2026 @04:01PM (#46492163)
Who or what gets to say what a valid TLD is? Especially when people take advantage of their own local resolvers, they could create anything at any time.
Re:Show HN: An interactive guide to how browsers work by MarsIronPI on Sunday January 04, 2026 @06:03PM (#46493323)
IANA maintains a list of TLDs in the root zone[0]. I presume browsers use this list, since it does cover all TLDs in >99% of situations.

[0]: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

Re:Show HN: An interactive guide to how browsers work by ranger_danger on Sunday January 04, 2026 @08:45PM (#46494435)
Yes but local/corporate DNS servers can use any TLD they want...
Re:Show HN: An interactive guide to how browsers work by MarsIronPI on Monday January 05, 2026 @12:18PM (#46501651)
Right, but browsers don't automatically recognize those, as far as I know. If you want to visit a site with a custom TLD I believe you have to prefix it with the protocol.