XP1,240
Simulation · 02

How DNS Works?

DNS is the phone book of the internet. It converts domain names to IP addresses.

Duration
1min
Level
L3
Type
Simulation
Progress
2/ 5

01Why DNS?

Which is easier?

  • 142.250.185.78
  • google.com

Humans prefer names, computers prefer numbers. DNS bridges the two!

02DNS Query Process

  1. Browser Cache - Did you visit before?
  2. OS Cache - Does the operating system know?
  3. Router Cache - Is it recorded in the router?
  4. ISP DNS - Ask your service provider
  5. Root DNS - Top level server
  6. TLD DNS - Domain extensions like .com, .org
  7. Authoritative DNS - The real answer

03DNS Record Types

RecordDescriptionExample
AIPv4 addressexample.com → 93.184.216.34
AAAAIPv6 addressIPv6 format
CNAMEAliaswww → example.com
MXMail servermail.example.com
TXTText infoFor verification

In the simulation, you'll see how a DNS query works step by step!