A DNS lookup step by step
The browser sends a domain name to a DNS server, which searches for it and returns the matching IP address. If it has no match, it passes the request to another DNS server.
Understanding A DNS lookup step by step in IGCSE Computer Science Paper 1
What it does: DNS servers do not store every domain, so an unknown name is passed on to another DNS server to keep searching. The browser only knows the domain name the user typed. It asks DNS to find the matching IP address. DNS only returns the IP address. The web page comes later from the web server. The IP address lets the browser send its request to the right web server. Without a matching entry the browser has nothing to connect to, so the search continues on another DNS server.
Common mistakes: The DNS server searches its records for the domain name, because that is what the browser sent. The IP address is the answer it returns. Line 3 should be FIND domain IN dns_records. The browser must send the domain name to a DNS server first, to get the IP address. A web server cannot be contacted until the IP address is known. Line 2 should be SEND request TO dns_server.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 477–489) and word search (Modules 464–489).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
DNS lookupFill in the Blanks
Spot the Error
Student with a class code? Join your class →