DNS: How Domains Resolve to IPs
Trace a DNS lookup from query to answer and understand how DNS can be attacked.
What is DNS?
The Domain Name System (DNS) is the internet's phone book. It translates human-readable domain names like google.com into IP addresses like 142.250.80.46 that computers use to route traffic.
The DNS Resolution Process
When you type a URL, your browser queries DNS:
- Check local cache (fast)
- Query local resolver (usually your router or ISP)
- Resolver queries root nameserver for TLD authority
- Query TLD nameserver (e.g., .com) for domain authority
- Query authoritative nameserver for the actual record
- IP returned and cached
All lessons in this course
- IP Addressing and Subnets
- TCP vs UDP: When Each Is Used
- DNS: How Domains Resolve to IPs
- HTTP and HTTPS Basics