Objective
By the end of this lesson, the student will understand the basics of how the internet works, specifically how domain names are translated into IP addresses and what a CNAME record is. They will also learn how to use simple commands to gather information about a website.
Materials and Prep
- A computer with internet access
- A notepad and pencil for taking notes
- Access to a terminal or command prompt for running commands
- Basic understanding of what a website is
Activities
-
Introduction to Domain Names: Start by discussing what a domain name is and why we use them. Ask the student to name their favorite websites and what they think happens when they type a URL into a browser.
-
Exploring CNAME Records: Explain what a CNAME (Canonical Name) record is. Use a simple analogy, like how a nickname refers to a person, to illustrate the concept. Then, have the student look up the CNAME record for a website using the command line.
-
Hands-On Command Line Activity: Guide the student to use the `nslookup` command to find CNAME records. They can practice by trying different domain names. Afterward, have them use the `curl` command to see the website's content. Encourage them to write down their findings.
-
Creative Project: Have the student create a fun poster that explains domain names and CNAME records. They can use drawings or printouts of their favorite websites to make it visually appealing.
Talking Points
- "What do you think happens when you type a website name into your browser? Let's explore that!"
- "A CNAME record is like a nickname for a website. It helps point to the real address behind the scenes!"
- "When we use the `nslookup` command, we're asking the internet for information about a website. It's like asking a librarian where to find a book!"
- "Using `curl`, we can see the text and information that make up a website. It's like peeking behind a curtain!"
- "How can we use what we learned today to help us understand the internet better? Let's think of some examples!"