The Internet's Directory System

Discover how DNS and Top-Level Domains create order in the digital world

Understanding DNS: The Internet's Phone Book

The Domain Name System (DNS) is a fundamental technology that makes the internet user-friendly. Instead of remembering complex IP addresses like 192.168.1.1, we can simply type memorable names like 'google.com' into our browsers.

User
DNS Server
Website
1

Query Initiation

When you type a web address, your computer sends a query to your local DNS resolver.

2

Resolution Process

The resolver works through the domain hierarchy, starting from the root servers.

3

Final Response

The IP address is returned, allowing your browser to connect to the website.

The World of Top-Level Domains

Generic TLDs (gTLDs)

The classic domains like .com, .org, and .net, plus newer additions like .app, .blog, and .shop.

example.com startup.app store.shop
Country Code TLDs (ccTLDs)

Two-letter codes representing countries and territories, like .us, .uk, and .jp.

bbc.co.uk amazon.de sony.jp
Sponsored TLDs (sTLDs)

Domains with specific community sponsors, like .edu for educational institutions.

harvard.edu mit.edu stanford.edu

The DNS Hierarchy

DNS operates in a hierarchical structure, similar to a tree. At the top are the root servers, followed by TLD servers, and then authoritative name servers for specific domains.

Domain Name Structure

Using blog.example.com as an example:

blog → subdomain example → second-level domain com → top-level domain

The Resolution Process

When you enter a domain name, the DNS resolution process follows these steps:

1

Local DNS Cache Check

Your computer first checks its local DNS cache for recently looked-up addresses.

2

Recursive Resolution

If not found locally, your DNS resolver contacts root servers, then TLD servers, and finally the authoritative name servers.

3

Caching and Response

The IP address is returned and cached for future use, making subsequent requests faster.