Domain Name System (DNS)
● Definition: DNS functions as the internet’s phone book, translating human-readable
domain names into numerical IP addresses.
○ Example: [Link] -> [Link]
● Purpose: Enables computers to route requests to the correct internet servers.
Key Concepts
1. ICANN (Internet Corporation for Assigned Names and Numbers):
○ Governs the coordination, security, and operations of DNS.
○ Does not directly sell domain bit certifies domain registrars to handle domain
registration.
2. Domain Registrars:
○ Act as intermediaries certified by ICANN to sell domain names (e.g. GoDaddy,
Google Domains.)
○ Maintain domain registration records.
3. DNS Records:
○ A Record: Maps a domain to an IPv4 address (e.g., [Link] ->
[Link]).
○ Cached IP addresses improve response time for subsequent requests if the
server has a state IP.
4. Server Configuration:
○ Server has public IPs, are configured with firewalls, and respond to client
requests via DNS mappings.
Anatomy of a URL (Uniform Resource Locator)
A URL specifies the location of the resource and the protocol for accessing it. Example URL
[Link]
1. Protocol (Scheme):
○ https:// indicates the use of HTTPS for secure communication,
○ Other examples:
■ FTP: [Link]
■ SSH: ssh://username@[Link]
2. Domain Name:
○ Divided into:
■ Subdomain: domains -> Represents a distinct section within the primary
domain.
■ Primary Domain: [Link] -> The main identifier, owner via a
registrar.
■ Top-level Domain (TLD): .com -> indicates the domain’s category (e.g.,
.com for commercial sites, .io for tech companies).
3. Path:
○ Get-started -> Specifies a particular resource or section within the domain.
4. Port:
○ Default Ports:
■ HTTP -> Port 80
■ HTTPS -> Port 443
○ Examples of customer port: localhost:8080
Closing Notes
● DNS: Vital for routing and server connectivity
● URL Anatomy: A foundational aspect for understanding system design and resources
navigation.
● Further exploration into DNS records, protocols, and URL components can deepen
understanding for system design and web development contexts.