GCSE · Computer Science · OCR · Spec J277

DNS (Domain Name Server/Service)

You load web pages dozens of times a day, yet a hidden lookup happens first. Can you predict every step before it appears?

Computer Science · Networks

What happens after you press Enter?

Call each step before it appears. Then switch runs and watch one step disappear.

Press Next to walk the journey. At each question mark, make your call before the answer shows.

Step 1. Every page load starts with you. Today's site is one you have never visited before.

Step 1 of 10Called right: 0 of 3

Two runs: one for a site you have never visited, one for a site you have.

Computer Science · Structure

Who is who on the journey

The Internet is a worldwide collection of computer networks. The DNS is not one machine: it is several Domain Name Servers working together. Tap each part.

Your networkThe DNS: several servers working togetherNetwork that holds the websiteAsks the DNSwork togetherConnects, asks for the page

Tap any part of the diagram to see what it does.

One website, two ways of writing where it is

URL (website name)vsIP address

The URL is the user-friendly way of writing the location of the server that stores the website.

Focus

Written for

URL (website name)

People: easy to read and type

IP address

Computers: the location they connect to

The insight

That mismatch is the reason the DNS exists. People use names; computers need locations.

What it looks like

URL (website name)

Words, such as the address in the address bar

IP address

A string of numbers, for example 203.0.113.25

What it is used for

URL (website name)

Telling the browser which website you want

IP address

Finding the server that stores the website

Where you meet it

URL (website name)

You type it into the address bar

IP address

The DNS provides it to your device

Computer Science · Networks

What does the DNS really do?

You type a website name and the page appears. Four people each say what the DNS did.

Which is closest to what you think?
How sure are you?

Exam line: If you write 'the DNS sends the page', you have mixed up the DNS and the web server. The DNS gives a location; the web server gives the page.

Computer Science · Networks

Which line goes wrong?

Sam describes loading a site Sam has never visited. One line puts a step in the wrong place. Which one?

Sam's account — which line goes wrong?

Exam line: The browser can only connect to the web server once it has the location the DNS provides.

Computer Science · Networks

Write it, then mark it

Maya is using a computer on her school's network. She types the web address of a revision site she has never visited into the browser's address bar. A moment later the page appears.

Explain how the web page is found and displayed. [5 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: In a scenario answer, name the machine for each step: the DNS gives the location, the web server gives the page.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Typing a website name does not take you to the website. First, something has to find out where it lives.

What you need to know

  • You type a website address, a URL (Uniform Resource Locator), into the browser's address bar.
  • A URL is a user-friendly way of writing the address of the server that stores the website.
  • Have a goYour friend says 'the URL is the website, the thing that gets downloaded.' In one line, what is a URL really?

    A user-friendly way of writing the address of the server that stores the website.

    A URL is the address you type to find the site, not the page itself and not the server.

  • Computers need that server's location, its IP address, so the URL has to be converted into one.
  • The Internet is a worldwide collection of computer networks, and the DNS operates inside it.
  • The DNS is made up of multiple Domain Name Servers that work together.
  • Have a goSam says, very confidently, 'the DNS is one giant computer.' Which word in the last bullet proves Sam wrong?

    'multiple': the DNS is several Domain Name Servers working together.

    The DNS is a team of servers that work together, so it cannot be one machine.

  • Its main function is to match a domain name (website name) to the stored location of the web page's server.
  • First, the device checks whether the site has been visited before, because if so it may already know the way.
  • If not, the device uses the DNS to look up where the website is located.
  • Have a goPut these in order for a site you have never visited: ask the DNS, type the URL, check whether you have visited before.

    Type the URL, check whether you have visited before, ask the DNS.

    The device looks at what it already knows first, and only uses the DNS when it has no earlier visit to rely on.

  • The browser connects to the web server at that location, then requests the web page.
  • The web server sends the page back, and the browser displays it.

The big picture

When you enter a URL, your device first checks whether it has visited the site before. If not, it uses the DNS (Domain Name Service, made up of multiple Domain Name Servers working together) to look up the location of the web server. The browser then connects to the web server at that location, requests the page, and the web server sends it back to be displayed. Some sources write DNS as Domain Name Server or Domain Name System.

Key points

1The URL is the user-friendly form of the server's address; the IP address is the location computers need.
2The DNS is multiple Domain Name Servers working together, and its main function is matching a domain name to the stored location of the web page's server.
3The device checks whether the site has been visited before; if not, it uses the DNS to look up where the website is located.
4The browser connects to the web server at the location the DNS provided, requests the page, and the web server sends it back.

Worked example

Problem

Four messages are sent while a page loads. For each one, say which machine sends it and which job it belongs to: (a) 'Where is this website?' (b) 'It is located here.' (c) 'Please send me the page.' (d) 'Here is the page.'

⚠ Watch out

Believing the DNS sends you the web page, or that the DNS is one big computer holding every website. The DNS is multiple Domain Name Servers working together, and all they do here is match the domain name to the location of the server. The web server sends the page.

🧠

Memory hook

Name in, location out. The DNS works like a phone book: look up a name, get a location; the web server is the shop that hands over the goods. (The comparison bends in one place: a phone book is one book, but the DNS is many servers working together.)

✓

Check yourself

Without looking back: what does the DNS give your device, and which machine gives you the page?

Flashcards

(11)
What is the DNS made up of?
Multiple Domain Name Servers that work together.
What is a URL?
The website address typed into the browser: a user-friendly way of writing the address of the server that stores the website.
What is the main function of the DNS?
To match a domain name (website name) to the stored location of the web page, so the server that hosts the website can be found.
Why does a URL have to be converted into an IP address?
Computers need the location of the server. The URL is the user-friendly way of writing it, so the DNS converts it.
What is the Internet, in terms of networks?
A worldwide collection of computer networks. The DNS operates within it.
What does the device check first when a website address is entered?
Whether the site has been visited before. If so, it may already know how to get there.
If the device does not already know the way, what does it do?
It uses the DNS to look up where the website is located.
What does the browser do once it has the location?
It connects to the web server where the website is stored, then requests the web page.
What is the web server's job in this journey?
It stores the website and sends the page back to the browser to display.
URL or IP address: which is written for people, and which for computers?
The URL is the user-friendly form for people. The IP address is the location computers need.
Does the DNS send you the web page?
No. The DNS provides the location of the web server, and the web server sends the page.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 23 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.