Hacker News new | past | comments | ask | show | jobs | submit login

Dumb question: Why do we need generic TLDs at all? Why can't I associate any unique name I want with my IP addresses in my DNS records? Why shouldn't we use "https://ycombinator"?

Is it due only to the legacy of DNS? I suspect I'm missing something obvious, but even a quick search didn't reveal the answer.




Due to the hierarchy of dns you can ask to a root server who handles .com, then to that server who handles google.com, then to that Google server, who handles mail.google.com, and then you can connect to it. If you allow anything to be a TLD the root servers need to know about everything, which isn't really feasible


> If you allow anything to be a TLD the root servers need to know about everything, which isn't really feasible

I wonder about that: The number of TLDs in my scenario would be approximately equal to the number of user-registered[0] domains now.

The .com root servers already need to know a large fraction of all 'user-registered' domains, and will need to scale to a much larger set of data as the number of domains grows.

Therefore, I expect that scaling to all 'user-registered' domains wouldn't exceed the root servers' capacity.

[0] I can't think of the technical term at the moment, but domains such as ycombinator.com, bbc.co.uk, ox.ac.uk, etc. Second-level isn't quite correct (see the .uk examples), and I know parsing the user-registered part is a bit of a challenge; see https://publicsuffix.org.


You can do this easily if you run your own nameserver, e.g., with tinydns.

   1 ycombinator:
   60 bytes, 1+1+1+0 records, response, authoritative, noerror
   query: 1 ycombinator
   answer: ycombinator 1 A 104.20.44.44
   authority: . 259200 NS ns
But the conventional wisdom is that you should let someone else run nameservers and give them your IP address. As such, they get to make the rules. Not to mention they also are often in the business of selling domain name registrations under those TLDs you wish to do without.

Further, assuming you plan to use your domain name in a web browser, browser authors can make a second set of rules about what domain names are "acceptable". They can block your TLD agnostic domain name. No DNS is involved.

You could edit the browser source code to modify any such rules and recompile. But as with nameservers, the conventional wisdom is to let someone else, e.g., a company, write the web browser; users are not meant to edit the source code.

You can do many "unconventional" things with DNS. But maybe your question is not what you can do, but why the third parties who control DNS for the masses do not do these things?


> You can do this easily if you run your own nameserver ...

Thanks; I didn't realize that was technically possible on the public Internet.

> But maybe your question is not what you can do, but why the third parties who control DNS for the masses do not do these things?

Yes.


Traditionally, that refers to the computer named "ycombinator" on your local network, and the domain directed the networking stack to some external network. Eventually, the community recognized that everyone should agree on what name to use for each network, and domain registries were born, along with the traditional TLDs.


The owner of .ycombinator tld would own the https://ycombinator/ domain. See http://ai/ for example.

Nothing stopping you from doing this besides the fact that it's kind of expensive and probably not exactly supported.


Internet upon its creation was subdivided into sections or tld. The ownership of each section was handed to a different entity. The entity managed all of the subnames on its section. And so began the modern tld system.

The management of the subnames on each tld is still given to one entity. For example, verisign manages the .com TLD. So in order to create new TLDs you need managers to step up. That's true for even country level domains.

So your question would evolve to if an entity can apply for and manage it's own tld. Well, icann did open this up and had some heavy requirements for TLD managers.

https://en.wikipedia.org/wiki/.com?wprov=sfla1


How do you decide which nameservers to trust about the "ycombinator" domain? What happens if I advertise a nameserver with that domain?


Use root servers like we do now. I'm not asking about doing away with DNS completely, just TLDs.


Got it. Then ICANN (or whoever) controls all websites, and is responsible for their infrastructure. That may or may not be better than what we have.


If Named Data then no need to trust the server, because trust the data. The data is signed. Signed data is trusted and doesn't care what path it takes to go where it's wanted.

https://en.wikipedia.org/wiki/Named_data_networking


The same problem holds; what if multiple people sign data under the same namespace? You need some way of mapping a name to a single public key, so that you can check the signature. That's equivalent to a nameserver.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: