GRADE 7 · COMPUTING · UNIT 3 · LESSON 3.6

Connections are made: Accessing the internet

Accessing web pages: DNS

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

7 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Accessing web pages: DNS

DNS helps resolve a hostname to address information; it does not translate the entire URL or fetch the web page itself. A browser then communicates with the destination service. A DNS lookup failure is different from an HTTP 404 response. Fixed classroom lookup tables are simplified historical or fictional models.

Today’s two goals
  • Explain how DNS resolves the hostname/domain component of a URL to an address used to contact a server.
  • Sequence the supplied domain-lookup and web-request steps and distinguish a failed DNS lookup from an HTTP 404 response.
Original PaxaKids illustration for Accessing web pages: DNS. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Explore the clues

Tap one card to find out more.

Understand the idea

DNS helps resolve a hostname to address information; it does not translate the entire URL or fetch the web page itself. A browser then communicates with the destination service. A DNS lookup failure is different from an HTTP 404 response. Fixed classroom lookup tables are simplified historical or fictional models.

Concept to practise: Accessing web pages: DNS.

Work through an example

A teaching table may map news.example.org to the documentation address 203.0.113.25. The lookup supplies address information; requesting /story is a later web step. If a server replies 404, the requested resource was not found there, not simply missing from DNS.

Try before your workbook

A hostname lookup succeeds, but the web server says 404 for a path. Which stage succeeded, and what does the response tell you?

Check my readiness thinking

The DNS lookup succeeded. The HTTP response says that the server did not find the requested resource. Do not label every lookup failure as 404 or treat a classroom table as a live DNS measurement.

Your original programs and learning models

These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.

Resolve a name before requesting a page

DNS, the Domain Name System, helps resolve a hostname to address information. In https://news.example.org/guide, the name to resolve is news.example.org; the scheme and path are separate.

A browser uses a resolver to obtain address information, then contacts the appropriate web service and requests the resource. DNS does not supply the web page itself.

Put the conceptual stages in order

Put the conceptual stages in order — original model
CardStage
AOn success, the address is returned to the client.
BThe resolver checks cached information and queries DNS servers if needed.
CThe user enters the URL in the browser.
DThe browser connects and sends a web request; the server responds.
EBranch on lookup result: failure stops this attempt; success continues.
FExtract the hostname and request address resolution.

Distinguish DNS failure from HTTP 404

Distinguish DNS failure from HTTP 404 — original model
SituationWhat it means
Name does not existA DNS name-error response such as NXDOMAIN may be returned.
DNS request times outResolution did not complete; this is not itself HTTP 404.
Web server responds 404The target representation was not found or its existence is not disclosed.

Trace the source’s single-entry model

  1. Start
  2. Input hostname

Decision: name is netflix.com?

True branch
  1. 54.155.178.5
False branch
  1. Lookup failed

Compare a toy table with real DNS

Compare a toy table with real DNS — original model
Illustrative hostnameFixed model address
news.example.org203.0.113.25
learn.example.org192.0.2.40
Paxa the Fox

Try one step with Paxa!

Use supplied fictional records. Do not disclose personal details, upload private photos or bypass browser warnings to complete an activity. Save personal responses before leaving.

Our Unit 3 learning path
  1. Lesson 3.1: Getting online
  2. Lesson 3.2: Transmission methods
  3. Lesson 3.3: Transmission characteristics
  4. Lesson 3.4: Accessing web pages: IP addresses
  5. Lesson 3.5: URLs
  6. Lesson 3.6: Accessing web pages: DNS
  7. Lesson 3.7: Padlocks and HTTPS
  8. Lesson 3.8: Insecure websites
  9. Lesson 3.9: Keeping it all secure
  10. Lesson 3.10: Sending messages
  11. Lesson 3.11: Intelligent search engines
  12. Lesson 3.12: AI and reverse image searches
  13. Lesson 3.13: Cipher algorithms and device IP addresses
  14. Lesson 3.14: Final project
  15. Lesson 3.15: Evaluation
  16. Lesson 3.16: What can you do?
For grown-ups: using this lesson

Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.

2. Fill in your workbook

Read the teaching and the complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.

Accessing web pages: DNS7 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 7 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.

Student worksheet only · PDF · 8.3 MiB · No answer key included

Download worksheet PDF ↓

TRY FIRST, THEN CHECK TOGETHER

Download the student worksheet →

4. Answers & guidance

Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.

Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.

Show answers for all 7 worksheets

Worksheet 1

  1. Question 1: Which part of that example is used for hostname resolution? news.example.org
  2. Question 2: Which role supplies the requested web-page response? web server

Worksheet 2

  1. Question 3: Write the six card letters in order for an attempt that succeeds. Use letters without spaces. CFBEAD / C F B E A D / C,F,B,E,A,D / C-F-B-E-A-D

Worksheet 3

  1. Question 4: Which observation is an HTTP response rather than a DNS failure? a responding web server returns 404 for the requested path
  2. Question 5: What can happen after successful name resolution? the web request can still fail or return an error

Worksheet 4

  1. Question 6: For input netflix.com, what fixed value is output? 54.155.178.5

Worksheet 5

  1. Question 7: What address does this teaching table associate with news.example.org? 203.0.113.25
  2. Question 8: A name is absent from this tiny table. What is justified? the toy lacks an entry; real DNS may still resolve it
  3. Question 9: How does a resolver obtain more information when needed? it can query the distributed DNS system

Worksheet 6

  1. Question 10: Adapt the conceptual lookup flowchart for yahoo.com and the source’s fixed exercise value 72.30.2.43. Show Start, input hostname, decision, both labelled branches, correct outputs and Stop. Trace one matching and one non-matching hostname. Label the model as a toy, not a current DNS lookup. Original chart should test a normalised hostname against yahoo.com; matching route outputs fixed source exercise string 72.30.2.43, other route reports lookup failure in this toy, not HTTP 404. Standard symbols, directed arrows, labelled True/False or Yes/No, both routes reach Stop. Trace yahoo.com match/output and other name unmatched/failure. Case-normalising equivalent accepted if stated; no need to query live DNS. A correct dictionary lookup variant accepted as conceptual extension, but do not call single-entry model complete real DNS or current Yahoo mapping. Source asks for address output despite its wording saying URL; correct address output required. Drawing and traces may use supplementary original template. No numeric scoring. Grown-up review; personal evidence is required.

Worksheet 7

  1. Question 11: Use https://news.example.org/guide and the fictional table to explain the lookup and web-request sequence. Identify the hostname and returned model address, describe the browser’s request and server response, and explain what changes if DNS resolution fails or the web server returns 404. State two limitations of the single-entry source flowchart. Explanation: URL entered, host news.example.org isolated, resolver uses cache/queries DNS servers; teaching table returns 203.0.113.25 as fictional documentation value; browser connects to service and requests /guide; server returns resource or response. DNS server not the page server and whole URL/path not translated. Failure to resolve stops attempt and is not HTTP 404; responding origin’s404 indicates target representation unavailable/not disclosed. Single-entry source model lacks real distributed/cached lookup, many names/addresses, changes and error variety; any two reasoned limits accepted. Required vocabulary used correctly, no one-to-one permanent/current mapping claims. Partner correction or pending status honest; no live requests needed, no numeric scoring. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Accessing web pages: DNS with this free Grade 7 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.

Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.

Understand your results

Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.

For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.

The book pages identify the related teaching topic. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.

Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.