The domain name server (DNS) and IP addresses
A domain name server translates a domain name typed in a browser, such as example.com, into the IP address of the web server that holds the website.
Understanding The domain name server (DNS) and IP addresses in IGCSE Computer Science Paper 1
What it does: Every lookup starts with the browser asking the DNS server to find the domain name it was given. The DNS server finds the matching IP address and sends it back so the browser can request the website from that web server. A domain name is text that is easy for people to remember. 192.168.10.25 is an IP address made of numbers. Computers do use IP addresses to find each other. The DNS lets people type memorable names instead of long numbers. The DNS only translates names to IP addresses. Encryption is done by protocols such as SSL/TLS. The browser trusts the IP address it is given. A wrong one leads to another site, which is how pharming attacks work.
Common mistakes: The variable should hold a domain name such as www.example.com. The value written is an IP address, which is what the DNS lookup should return. The browser only knows the domain name the user typed, so it sends the domain name to the DNS server. It does not already have the IP address.
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 520–546) and word search (Modules 510–546).
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 serverFill in the Blanks
Spot the Error
Student with a class code? Join your class →