Skip to content
Computer Science · Grade 9

Active learning ideas

IP Addressing and DNS

Active learning works for IP addressing and DNS because these concepts are abstract and procedural. When students manipulate real or simulated network components, they build mental models that stick. Hands-on activities turn passive listeners into active problem-solvers who can trace packets, debate trade-offs, and justify decisions using evidence.

Ontario Curriculum ExpectationsCS.HS.N.6CS.HS.S.5
20–45 minPairs → Whole Class4 activities

Activity 01

Simulation Game30 min · Whole Class

Simulation Game: DNS Lookup Chain

Students form a line representing DNS hierarchy: root, TLD, authoritative servers. One student calls a domain name; each passes a 'query card' forward and returns an IP 'response' card backward. Discuss caching by noting repeated queries. Debrief on resolution steps.

Explain the purpose of IP addresses and how they enable device identification on a network.

Facilitation TipDuring the DNS Lookup Chain simulation, have students physically move between stations representing root, TLD, and authoritative servers to reinforce the hierarchical query path.

What to look forProvide students with a fictional domain name (e.g., 'mycoolsite.edu'). Ask them to write: 1) What is the purpose of DNS in accessing this site? 2) If the site used IPv4, what is a possible IP address format? 3) Why might IPv6 be necessary for future growth?

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 02

Simulation Game45 min · Pairs

Pairs: IPv4 vs IPv6 Debate

Pairs research IPv4 limitations like address shortage and IPv6 features such as auto-configuration. They create posters comparing formats and debate the transition need. Share with class via gallery walk.

Analyze the process by which DNS translates domain names into IP addresses.

Facilitation TipFor the IPv4 vs IPv6 debate, assign roles and require teams to cite statistics on address exhaustion or performance metrics to ground claims in data.

What to look forPresent students with two IP addresses: one valid IPv4 and one valid IPv6. Ask them to identify which is which and explain one key difference in their structure or capacity. Follow up by asking if the address was likely assigned statically or dynamically and why.

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 03

Simulation Game35 min · Small Groups

Small Groups: DHCP Role-Play

Groups assign roles: client devices, DHCP server, router. Use cards for IP requests and leases. Simulate conflicts if duplicates occur. Record process in flowcharts.

Differentiate between IPv4 and IPv6 and justify the need for the latter.

Facilitation TipIn the DHCP role-play, give each pair a timer to simulate lease renewals and expirations, making the temporal nature of dynamic addressing visible.

What to look forFacilitate a class discussion: 'Imagine a new social media platform is launching with millions of users signing up daily. How does the transition from IPv4 to IPv6 impact the platform's ability to grow and connect users globally?' Guide students to discuss address exhaustion and scalability.

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 04

Simulation Game20 min · Individual

Individual: Network Address Hunt

Students use command line tools like ipconfig or ifconfig to find their device's IP. Log IPv4/IPv6 if available, then map class IPs on a shared board to visualize a LAN.

Explain the purpose of IP addresses and how they enable device identification on a network.

Facilitation TipDuring the Network Address Hunt, require students to justify why a found address is likely static or dynamic based on its placement in the subnet.

What to look forProvide students with a fictional domain name (e.g., 'mycoolsite.edu'). Ask them to write: 1) What is the purpose of DNS in accessing this site? 2) If the site used IPv4, what is a possible IP address format? 3) Why might IPv6 be necessary for future growth?

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

A few notes on teaching this unit

Approach this topic with a mix of modeling and iteration. Start with concrete analogies—like house numbers for IP and phonebooks for DNS—but quickly transition to simulations so students experience the complexity firsthand. Research shows that when students manipulate variables (e.g., changing subnet masks or TTL values), they grasp concepts like address exhaustion and caching more deeply. Avoid over-reliance on lectures about binary math; instead, let students discover patterns through structured explorations.

Successful learning looks like students confidently explaining how DHCP leases differ from static assignments, tracing a DNS query through root servers, and comparing IPv4 and IPv6 formats with evidence. They should argue for IPv6 using data, not opinion, and describe network fluidity rather than assuming fixed addresses.


Watch Out for These Misconceptions

  • During DHCP Role-Play, watch for students who treat IP addresses as permanent, like fixed home addresses.

    Use the role-play’s timer and lease-renewal mechanics to show how addresses are temporary. Ask, 'What happens when the timer runs out?' to prompt discussions about address recycling and conservation.

  • During Simulation: DNS Lookup Chain, watch for students who view DNS as a single lookup (like a phonebook page).

    Have students trace each step of the simulation on a poster, labeling root, TLD, and authoritative servers. Ask, 'Why did we visit three places to get one answer?' to highlight recursion.

  • During IPv4 vs IPv6 Debate, watch for students who dismiss IPv6 as unnecessary because 'IPv4 still works.'

    Require teams to present growth statistics (e.g., devices per person globally) and contrast IPv4’s 4 billion limit with IPv6’s 340 undecillion addresses. Use these numbers to anchor the debate in evidence.


Methods used in this brief