Live data from Hacker News

This is a valid domain name (remove www)

ai

51–60 of 75 posts

Re: This is a valid domain name (remove www)

#51
post #46

Earlier quoted context omitted.

This one works for me. But I don't get it. Can someone explain? This isn't browser trickery, nslookup succeeds for "ai." but not "ai". > 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:…

The period forces it to actually do a lookup. Without it it may be only asking the local dns server or appending the default domain.

http://microsoft.com./

Re: This is a valid domain name (remove www)

#53
post #47

Earlier quoted context omitted.

Can someone explain to me why this is a valid URL?

>A domain is a non-empty ASCII string that identifies a realm within a network. [RFC1034][1] >The example.com and example.com. domains are not equivalent and typically treated as distinct.[1] When a user needs to type a domain name, the length of each label is omitted and the labels are separated by dots ("."). Since a complete domain name ends with the root label, this leads to a printed form which ends in a dot. We…

This is blowing my mind.

Re: This is a valid domain name (remove www)

#54

How?

I notice it works for pretty much every TLD, including .com too.

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.

Re: This is a valid domain name (remove www)

#55
post #40

Okay..WTF? http://ai . Didn’t work on Chrome Mac but it works in Safari for iOS. Is this a bug or how the hell is this possible? It’s flipping everything I thought I knew about domains upside down.

'ai' is a resolvable DNS name, just like you can resolve 'localhost'

The owner of 'ai' decided to add an A record on their zone.

Re: This is a valid domain name (remove www)

#57
post #49

So they registered the domain "www" just like they could have registered "google" or "lol". 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…

This is not correct. The TLD alone is a valid domain name, although in most cases it must be followed by a trailing dot. "ai." is valid, "ai" may not be.

Re: This is a valid domain name (remove www)

#58
post #49

So they registered the domain "www" just like they could have registered "google" or "lol". 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…

This is not correct. The TLD alone is a valid domain name, although in most cases it must be followed by a trailing dot. "ai." is valid, "ai" may not be.

I thought 'ai' was valid according to spec, but depending on your browser it may or may not actually go to 'http://ai./'

Re: This is a valid domain name (remove www)

#59
post #49

So they registered the domain "www" just like they could have registered "google" or "lol". 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…

This is not correct. The TLD alone is a valid domain name, although in most cases it must be followed by a trailing dot. "ai." is valid, "ai" may not be.

It is a valid domain in the technical DNS sense. But practically speaking, each TLD has "ns" entries in the root zone database, not "A", "CNAME", etc. entries. This is just a guy who registered www under a TLD that's it.
Post reply on HN