The DNS root sits at the top of the domain name hierarchy, guiding requests toward top-level domains such as .com, .org, and .uk. See how the root, registered domain names, and subdomains fit together—and why a tiny dot can anchor the web’s naming system.

Multiple Choice

In DNS hierarchy, what is the top-level directory called?

DNS names start at the root, the highest level of the hierarchy. The root sits at the top and anchors everything below it, often represented by a dot at the end of a domain name. From the root, the next level down is the top-level domains like .com, .org, or country codes like .uk. Each of these TLDs is a broad category under the root. To the left of a TLD is the second-level domain—the registered name, such as example in example.com. Subdomains then branch off further below, like www or mail within a domain. Since this question asks for the topmost level in the DNS structure, the correct answer is the root.

The DNS Hierarchy: How the Internet Finds a Domain

When you type a website name into a browser, you don’t have to remember a string of numbers. You can enter a familiar name, such as example.com, and the internet works out which server to contact. That simple moment relies on the Domain Name System, or DNS—a naming system that organizes domains into levels and helps computers find their way around.

The structure has a clear starting point: the root. It sits at the top of the DNS hierarchy, anchoring every domain below it. From there, the system branches into top-level domains, registered names, and sometimes smaller subdivisions. Think of it as an upside-down tree: the root is at the top of the diagram, while the branches spread outward beneath it.

A name with a hidden structure

A domain name may look like one uninterrupted label, but DNS reads it as a series of parts separated by dots. Take www.example.com. It contains three labels:

  • www

  • example

  • com

Each label belongs to a different level. The top-level domain is com; the second-level domain is example; and www is a subdomain of example.com.

There’s also an often-unseen dot at the end. In technical terms, the complete name is www.example.com. The final dot marks the root. Browsers and other software usually leave it out because the root is understood, much like a silent marker in a familiar address. It’s there, even when you don’t notice it.

That detail helps explain why the root is the topmost part of the hierarchy. It isn’t another word in a domain name. It’s the point from which the whole naming structure begins.

What the root actually does

The root doesn’t store a complete directory of every web page or server on the internet. Instead, it helps direct DNS lookups toward the next relevant layer.

Suppose you enter www.example.com into a browser. Your device needs to find the address linked to that name. It may first check a local cache—a short-term store of information from earlier lookups. If it doesn’t find what it needs, a DNS resolver can seek help from other DNS servers.

The resolver starts at the root. Root DNS servers point it toward the servers responsible for .com. Those servers can then guide it to the servers that manage example.com. Finally, those servers can provide information about www.example.com, including the network address the browser needs.

It’s a bit like asking for directions in a large city. You don’t need one person who knows every street, building, and apartment. You need a chain of helpful signs that points you to the next place. DNS works in a similar way: each layer narrows the search.

From root to top-level domain

Just below the root are top-level domains, often shortened to TLDs. These include familiar endings such as .com, .org, and .net, as well as country-code endings such as .uk and .jp.

Some TLDs suggest a broad purpose or community. For example, .org is commonly used by organizations, while .edu is associated with eligible educational institutions in the United States. Country-code TLDs connect domain names with a particular country or territory, though how they’re used can vary.

A TLD is not the root itself. It’s the level immediately beneath the root. If a domain name were a mailing address, the root would be the overall system that makes the address structure possible; the TLD would be one of the broad divisions within it.

This distinction matters because the names can sound similar. “Top-level domain” means the highest named domain label, such as .com. The root is higher still, even though it often appears only as that final dot.

The registered name and the branches below it

Move one step to the left of the TLD and you’ll find the second-level domain. In example.com, the label example is at the second level, while .com is the TLD.

Many organizations register a second-level domain as their main name online. A library might use a name like citylibrary.org, for instance, with citylibrary as the second-level label and org as the TLD. The exact rules for registering names depend on the domain ending and the registry that manages it.

Below a second-level domain, owners can create subdomains. A company might use shop.example.com for its store and help.example.com for support. A school could separate departments or services in the same way. These labels make it possible to organize related services without registering a completely new domain for each one.

Subdomains can also have further levels. A name such as news.eu.example.com has several labels before the TLD. DNS doesn’t require every domain to stop at the same number of levels; the labels can branch further as needed.

Why the hierarchy is useful

The DNS hierarchy makes a huge naming system easier to manage. Different organizations can take responsibility for different parts of it. Root servers guide resolvers to TLD servers; TLD servers guide them toward domain-specific servers; and those servers can provide information about particular hosts or services.

That distributed structure matters. If a single database had to hold and answer every domain lookup around the globe, it would be a massive bottleneck. Instead, DNS divides responsibility among many servers. It’s more like a network of local directories than one enormous phone book.

The hierarchy also allows domain owners to manage parts of their own names. A business can set up a subdomain for email or customer support, for instance, while the broader domain remains unchanged. The labels create order, but they also give people room to organize services in ways that make sense for them.

There’s a small trade-off: DNS can feel abstract because users rarely see its moving parts. A web address looks like text, while the lookup process involves caches, resolvers, and servers passing information along. Still, the underlying idea is fairly intuitive. Names are arranged from the broadest level to more specific ones, and each step helps locate the next.

The dot that ties it together

The root is easy to overlook because it’s usually represented by a dot at the very end of a fully written domain name. Yet that tiny mark points to the foundation of the whole system. Beneath it sit TLDs such as .com and .org; beneath those are registered names such as example; and beneath those may be subdomains such as www or mail.

So when a browser turns a domain name into a server address, it’s following a hierarchy that starts at the root and works downward. The root is the highest level—not a TLD, not a registered name, and not a subdomain, but the quiet starting point that holds the structure together.