1. Network Addressing: IP, URL, and DNS
Every device connected to a network needs a unique identifier, just like every house needs a unique postal address. On the internet, this is the IP (Internet Protocol) address. It's a series of numbers (like 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334) that allows data to be sent to the correct destination. However, numbers are hard for humans to remember. That's where URLs (Uniform Resource Locators) come in. A URL is a user-friendly web address like 'www.cambridge.org'. The Domain Name System (DNS) acts as the internet's phonebook. When you type a URL into your browser, a DNS server looks up that URL and finds its corresponding IP address, allowing your browser to connect to the correct web server and retrieve the website.
Key term
Examiner insight
Common pitfall
Fun fact
Worked example 15 marks
A student types 'www.example.com' into their web browser and presses Enter. Describe the main steps, involving DNS, that allow the homepage to be displayed.
- 1
Step 1: The student's web browser sends the URL 'www.example.com' to a DNS resolver, which is usually provided by their Internet Service Provider (ISP).
- 2
Step 2: The DNS resolver queries a series of DNS servers to find the IP address associated with 'www.example.com'.
- 3
Step 3: The DNS server responds with the correct IP address (e.g., 93.184.216.34) for the web server hosting the website.
- 4
Step 4: The student's browser sends an HTTP request to this IP address, asking for the website's homepage.
- 5
Step 5: The web server at that IP address receives the request and sends the website's data (HTML, CSS, images) back to the student's browser, which then renders and displays the page.
Recap
- An IP address is a unique numerical label assigned to each device on a computer network.
- A URL is a human-readable address for a resource on the internet.
- DNS translates user-friendly URLs into machine-readable IP addresses.
- A web browser uses the IP address provided by DNS to request data from a web server.
- Without DNS, we would have to remember the IP address for every website we want to visit.
Quick check
- What is the primary function of a DNS server?1 mark
- State one difference between a URL and an IP address.1 mark