An unofficial, read-only Hacker News reader.

Is your DNS ready for a bigger namespace? (opens external site)

73 points by ksec 5 days ago | www.akamai.com | 86 comments on HN

View full thread · View on Hacker News

Comment thread (7)

  1. This was tried in the 1990s - third-party registrar[1] would accept any string as a TLD in their Alternate DNS root for a few hundred US dollars. Through some technical wizardry due to the lack of DNSSEC being invented yet, some of these domains even became resolvable by the majority of internet users. This lead to legal trouble, the arrest and extradition of the company’s founder to stand Trial in the United States on wire-fraud charges, strip-mining of the corporate assets from the company, and many years later eventually the (official, Network Solutions-sanctioned) .XXX domains (and many other generic TLDs) have been accepted at enormously inflated rates through shell companies of some of the original investors. But, we are no longer limited to com/net/org!

    On a purely Technical basis it is not a great idea to balloon the root zone “.” beyond a few million entries, as it becomes difficult to keep the entire Zone in memory. There is a LOT of traffic to the Root Server set and they must be able to answer queries very quickly, or else you get a long tail of slowdowns at each downstream resolver.

    1: https://en.wikipedia.org/wiki/AlterNIC

    Replies (3)
    1. We could subdivide the root zone by name through consistent hashing.
    2. > Through some technical wizardry due to the lack of DNSSEC being invented yet, some of these domains even became resolvable by the majority of internet users.

      You may have misread something - this was never the case. AlterNIC and other alt-root DNS services were only ever resolvable on systems which were configured to use custom DNS servers.

      Replies (2)
      1. It might have been possible through cache poisoning attacks, via NS+A records pointing outside the official hierarchy.

        20+ years it was common, IIRC, for recursive resolvers to cache out-of-bailiwick records. So if you poisoned enough ISP resolvers, things would appear to work for many people. DNSSEC would prevent this because you couldn't build an in-bailiwick signature chain to the official root servers.

        Replies (1)
        1. Eugene Kashpureff executed a cache poisoning attack to coercively redirect traffic from InterNIC to his own NIC in the late 1990s. It was a whole big thing.

          It was a common vulnerability in the late 90s ("common" is a bit of an odd way to put it; it was a line of several vulnerabilities in BIND, each of which created that outcome), and then Kaminsky's QID version (which was patched quite quickly) in 2008.

          Interestingly, for most of that time, DNSSEC could not have prevented this attack, because it couldn't be deployed at all. We're on DNSSECbis now (some might nitpick and call NSEC3 "DNSSECter"), which didn't get a rollout until after 2005.

      2. I did not misread anything - I was a Junior System Administrator at AlterNIC. :-)

        The Wikipedia article is not well-sourced, and has a history of biased editors. Original sources from the period are difficult to obtain; the most authoritative are the IETF mailing lists.

    3. Keeping the root zone small is good, but not because of the root severs needing to keep it in memory. Any competently run recursive resolver should have the entire root zone cached locally. It doesn't change that much and cuts out that whole chain of network requests.