A user types www.example.com into a web browser.
(a) Describe how the Domain Name System (DNS) is used so that the browser can load the page. [3]
(b) Explain why the DNS is used rather than requiring users to type IP addresses. [1]
(c) The web server listens on a well-known port. State what is meant by a well-known port. [1]
- (a) The domain name is sent (by the browser / computer) to a DNS server (allow: local cache checked first, then the DNS server queried if not found)(1)
- (a) The DNS server looks up the matching IP address (or asks other DNS servers if it does not hold it) and returns the IP address(1)
- (a) The browser uses the IP address to contact the web server and request the page(1)
- (b) Domain names are easier for humans to remember than IP addresses (allow: the IP address of a server can change without users needing to know)(1)
- (c) A port number reserved / assigned for a particular (standard) server-side application or protocol, so clients know which port to connect to (e.g. 80 for HTTP, 443 for HTTPS). Do not require the range 0–1023 or an example; reject 'a port that is commonly used' with no idea of it being reserved for a service(1)
- Answer: (a) name sent to DNS server; IP address looked up and returned; browser uses IP address to request page from web server (b) names are easier to remember (c) a port number reserved/assigned to a standard server application protocol, e.g. 443 for HTTPS
- Examiner tip: Describe the lookup as name to IP address; the DNS does not fetch the web page.