DNS
Computer Science: OCR GCSE, topic 1.3.17
Domain Name Service (DNS)
When a client sends a request, it has to use an Internet Protocol (IP) address to find the correct server. Modern web browsers allow us to enter a domain name instead, which the DNS translates.

Why use the DNS?
- Domain names are much easier to read and remember than IP addresses.
- Computers have to use IP addresses to communicate over the Internet Protocol.
- The DNS converts domain names into IP addresses for us.

DNS lookup
- When we have a domain name, we send a request to the nearest DNS server.
- The request asks for the IP address associated with the domain name.
- The DNS server responds with the correct IP address.
- The client can then use the IP address to send their original request.

DNS miss
- A DNS server may not have an IP address for a particular domain name, known as a DNS miss.
- The DNS server can then ask other DNS servers that it knows about.
- By continuing to ask other, larger DNS servers, we will eventually resolve the IP address.
- We will then send the IP address to the original client.
Test yourself on DNS
Why do people use domain names instead of IP addresses?
What happens when we have a DNS lookup?
What is it called when a DNS server lacks an IP address for a particular domain name?
What happens when we have a DNS miss?
A user already knows a website's IP address. Why might they still choose to type its domain name into a browser instead?