โ† Back to all tools

๐Ÿ”— How Does the Internet Find Websites? โ€” DNS Explained

Type a domain name and watch the DNS resolution process โ€” from browser cache to root server to IP address.

Designed with the WJEC specification in mind
CS GCSE ยง1.3.1DigiTech GCSE ยง1.2.1

๐Ÿค” What is DNS?

DNS (Domain Name System) is like the internet's phone book. When you type "www.google.com", your computer needs to find the actual address (IP address) where Google lives on the internet.

๐Ÿ• Analogy: It's like asking for directions to "Tesco" โ€” first you need to know which specific Tesco (the address), not just the name!
๐ŸŒ

Enter a domain name

๐Ÿ“–

DNS Record Types

A
Maps domain โ†’ IPv4 address
AAAA
Maps domain โ†’ IPv6 address
CNAME
Alias to another domain name
MX
Mail server for the domain
NS
Nameserver for the domain
TXT
Text data (SPF, verification)
๐Ÿ’ก

Key Concepts

DNS (Domain Name System) translates human-readable domain names into IP addresses that computers use to communicate.

Recursive vs Iterative: Your ISP's resolver does the hard work (recursive) โ€” it asks root, TLD, and authoritative servers in turn (iterative queries) and caches the results.

TTL (Time To Live) โ€” how long a DNS record can be cached before it must be looked up again.

DNS Hierarchy: Root servers (.) โ†’ TLD servers (.com, .uk) โ†’ Authoritative servers (google.com)

๐Ÿ“

Exam Tips

  • GCSE: Know that DNS translates domain names to IP addresses and be able to explain why this is necessary
  • A-Level: Understand the DNS hierarchy: root โ†’ TLD โ†’ authoritative servers
  • Key point: DNS caching speeds up subsequent requests for the same domain
  • Remember: A records map to IPv4, AAAA to IPv6, CNAME creates aliases