Introduction
Imagine trying to send a letter but not knowing the exact address of the person. Computers face a similar problem when they want to talk to each other on the internet. They need a way to find each other easily and correctly.
Jump into concepts and practice - no test required
Think of sending a letter to a friend. The IP address is like the exact street address where your friend lives. The domain name is like your friend's name saved in your phone. When you want to send a letter, you look up their name in your phone to find their address.
┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ User types │ → │ DNS translates│ → │ Computer uses │ │ domain name │ │ domain to IP │ │ IP address to │ │ example.com │ │ address │ │ connect │ └───────────────┘ └───────────────┘ └───────────────┘
example.com, what does the DNS server do when you type it in your browser?example.com into its IP address describes this translation process correctly.www.example.com but gets an error. The DNS server is suspected. Which of these is a likely cause?badwebsite.com by redirecting it to the local machine?