liveBook · Manning

DNS hierarchy

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A DNS hierarchy is the layered organization of DNS servers and domains from the root through top-level domains to specific domains.

The DNS hierarchy organizes internet names as a tree. The root domain (.) contains top-level domains such as com, net, and org; each TLD contains second-level domains, which can contain further subdomains. section 3.1.3

Read a domain from its position in the hierarchy:

  • Root domain: the single dot (.). section 3.1.3
  • Top-level domain: labels such as com, net, or org. section 3.1.3
  • Second-level domain: an organization-controlled label such as google under com. section 3.1.3
  • Lower-level domains: additional third-level, fourth-level, and other subdomains. section 3.1.3

The www label

In www.example.com, www conventionally names a server hosting an organization’s main website; it is not a technical requirement, and DNS can make www.example.com and example.com reach the same site. section 3.1.3

Figure 3.3 The DNS hierarchy. All domains are under the root domain, represented by “.”. Under the root domain, there are various top-level domains. Under each top-level domain, there are various second-level domains. The “google” domain, a subtree under the “com” top-level domain, is highlighted.

Use the hierarchy diagram to trace the root, TLD, and second-level domain relationships. section 3.1.3

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines root, TLD, SLD, and subdomain relationships, while stopping short of server-resolution procedures.
Examples
Uses Google under com and contrasts www.example.com with example.com to illustrate hierarchy and naming conventions.
What you can do after
Evaluate DNS names by locating their root, TLD, second-level domain, and deeper subdomains.
How it connects
Connects DNS hierarchy with domains, subdomains, root domains, top-level domains, and second-level domains.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.