Master the Domain Name System with interactive lessons and hands-on practice
The Domain Name System (DNS) is like the phone book of the internet. It translates human-readable domain names (like google.com) into IP addresses (like 172.217.12.142) that computers use to communicate.
Your device's DNS client
ISP's DNS server
Top-level directory
Final answer source
When you type a website address, here's what happens behind the scenes:
You type "example.com" in your browser
System checks local DNS cache
Ask ISP's DNS server
Ask "Where are .com servers?"
Ask "Where is example.com?"
Get the final IP address
Browser connects to website
DNS uses a tree-like structure:
DNS stores different types of information using various record types:
Domain → IPv4 Address
Domain → IPv6 Address
Domain Alias
Mail Server
Name Server
Text Data
Reverse Lookup
Every DNS message contains a 12-byte header with the following structure:
Create your own DNS records and see how they work!
Test your understanding of DNS concepts!