Domain name server (DNS)
Domain name server: stores a list of domain names with their matching IP addresses. Give it a domain name and it returns the IP address. Many DNS servers exist across the internet.
Understanding Domain name server (DNS) in IGCSE Computer Science Paper 1
What it does: The DNS is given a domain name and returns the matching IP address, which is what the lookup shows. The browser sends the domain name to the DNS. The DNS searches its list for it. There are many DNS servers across the internet. This spreads the work and keeps lookups quick and reliable. A DNS matches domain names with IP addresses. It does not deal with file names or page content.
Common mistakes: The DNS list is keyed by domain name, so you give it the domain name to get the IP address out. Looking up by the IP address finds nothing. It should be print(dns[name]). The directory has the domain name and IP address the wrong way round. A DNS stores each domain name as the key with its matching IP address as the value: {"b.org": "10.0.0.5"}.
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
DNSFill in the Blanks
Spot the Error
Student with a class code? Join your class →