News for hackers. Stuff that matters.
Re:Eu.org, free domain names since 1996 by maxdamantus on Tuesday June 07, 2022 @06:56AM (#31652350)
Unlike "com", Anguilla's TLD, "ai", has an A record pointing to a usable HTTP server:

http://ai/

A few years ago I tried all two-letter ([a-z]) TLDs and found some others that were able to handle HTTP requests, but they were either just redirecting to another domain name (the ones I noted down back then don't seem to work anymore) or returning 500 errors (http://uz/).

These examples should at least demonstrate that there shouldn't technically be some special case for resolving TLDs. They work in normal web browsers, and presumably a lack of A records for other TLDs would just be some sort of convention.

Re:Eu.org, free domain names since 1996 by arzeth on Tuesday June 07, 2022 @08:20AM (#31653107)
I've recently (2022-03) done the same but also .space and all others from https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom... and discovered:

curl http://ai

Apache's Hello world:

curl http://pn

ping tk

ping uz

ping cm

All others had this error:

curl: (6) Could not resolve host: %tld%

Re:Eu.org, free domain names since 1996 by easrng on Tuesday June 07, 2022 @11:22AM (#31655702)
You need the trailing dot for it to reliably work: http://ai./