37 points · by theseobosscom · 4y ago · 73 comments
You can access Google by typing:
- google.com (domain name)
- www.google.com (subdomain)
The same for the domain in question:
- www.ai (domain name)
- www.www.ai (subdomain)
~~The reason why typing ".ai" or "ai", etc. In your browser works is in IMO due to the internals of the browser that automatically adds a www in front of the domain if it can't resolve it because historically so many websites run on http://www.example.com and neglect to setup http://example.com~~
Edit: as pointed by another comment (https://news.ycombinator.com/item?id=31690379) there are actually TLDs with A records which is the case here.
So to take my example from above: The registry responsible for the AI TLD set up a website on the domain name "www.ai" but neglected to set it up on the subdomain "www.www.ai" Instead, they set it up on the TLD "ai" which is indeed very unusual.
$ host "ai."
ai has address 209.59.119.34
ai mail is handled by 10 mail.offshore.ai.Unfortunately it appears a link farmer has it rather than a cool hacker.
http://ai/
into the location bar (do not use https). Also try with and without the trailing slash.But Safari just throws an error: Can't connect to the server "ai".
Update: It works if you include a trailing dot: http://ai.
Update 2: HN's URL parser does not include the dot in the hyperlink. Frustrating.
I suspect all these difference depend on what DNS server you are using.
(I have a backup longer one.)
Surprisingly people are fine with it, I think that this is thanks to social media handlers such as @wazoo - people group all these together as "email and such"
(Automatically updated, but Travis broke this a while ago). There's some older diffs on my blog[1] if you search for "A Record")
www.ai/publicity
- http://ai.
and http://.ai/ gets redirected to a search engine searchfor ".ai" by firefox.
But http://www.ai/ works for some reason.
Thanks for the -30 downvotes HN.
Edit: The HN generated link does not work because it appends a trailing slash to the end.
The page informs us it is registered in Anguilla.
"Valid domain name" seems a stretch.
> ai
** UnKnown can't find ai: Non-existent domain
Server: UnKnown
Address: 192.168.86.1
> www.ai
Non-authoritative answer:
Server: UnKnown
Address: 192.168.86.1
Name: www.ai
Address: 209.59.119.34
> ai.
Non-authoritative answer:
Server: UnKnown
Address: 192.168.86.1
Name: ai
Address: 209.59.119.34
>
The owner of 'ai' decided to add an A record on their zone.
http://com. resolves to http://www.com
http://cd. shows a list of all such sites.
It seems likely that the browser has some kind of logic in the resolver to make this work specially for “www” domains.