The Internet: IP Addresses and DNS
-
0:02 - 0:09The Internet: IP Addresses and DNS
-
0:10 - 0:14Hi! My name is Paola,
and I am a software engineer -
0:14 - 0:20at Microsoft. Let's talk about how the internet
works. My job relies on networks being able -
0:20 - 0:26to talk with one another, but back in the
1970s there was no standard method for this. -
0:26 - 0:33It took the work of Vint Cerf and Bob Kahn
to invent the internetworking protocol, to -
0:33 - 0:39make communication possible. This invention
laid the groundwork for what we now call the -
0:39 - 0:44internet. The internet is a network of networks.
It links billions of devices together all -
0:44 - 0:51around the globe. So maybe you're connected
with a laptop or a phone through wifi, then -
0:51 - 0:57that wifi connection connects to an internet
service provider (or ISP), and that ISP connects -
0:57 - 1:02you to billions and billions of devices around
the world through hundreds of thousands of -
1:02 - 1:09networks that are all interconnected. One
thing that most people do not appreciate is -
1:09 - 1:16that the internet is really a design philosophy
and an architecture expressed in a set of -
1:16 - 1:20protocols. A protocol is a well known set
of rules and standards, that if all parties -
1:20 - 1:26agree to use it will allow them to communicate
without trouble. How the internet actually -
1:26 - 1:32physically works is less important than the
fact that this design philosophy has allowed -
1:32 - 1:38the internet to adapt and absorb new communication
technologies. This is because in order for -
1:38 - 1:43a new technology to use the internet in some
fashion, it just needs to know which protocols -
1:43 - 1:49to work with. All the different devices on
the internet have unique addresses. An address -
1:49 - 1:54on the internet is just a number, similar
to a phone number or a sort of street address, -
1:54 - 2:00that's unique to each computer or device at
the edge of the network. This is similar to -
2:00 - 2:05how most homes and businesses have a mailing
address. You don't need to know a person to -
2:05 - 2:09send them a letter in the mail, but you do
need to know their address and how to write -
2:09 - 2:14the address properly so the letter can be
carried by a mail system to its destination. -
2:14 - 2:20The addressing system for computers on the
internet is similar and it forms part of one -
2:20 - 2:25of the most important protocols used in internet
communication simply called the internet protocol -
2:25 - 2:32or IP. A computer's address then is called
its IP address. Visiting a website is really -
2:32 - 2:37just your computer asking another computer
for information. Your computer sends a message -
2:37 - 2:41to the other computer's IP address and it
also sends along its origin address, so the -
2:41 - 2:48other computer knows where to send its response.
You may have seen an IP address. It's just -
2:48 - 2:55a bunch of numbers! These numbers are organized
in a hierarchy. Just like a home address has -
2:55 - 3:02a country, a city, a street, and a house number,
an IP address has many parts. Just like all -
3:02 - 3:10digital data, each of these numbers is represented
in bits. Traditional IP addresses are 32 bits -
3:10 - 3:16long, with 8 bits for each part of the address.
The earlier numbers usually identify the country -
3:16 - 3:22and regional network of the device. Then come
the subnetworks, and then finally the address -
3:22 - 3:30of the specific device. This version of IP
addressing is called IPv4. It was designed -
3:30 - 3:36in 1973 and was widely adopted in the early
80s, and provides for more than 4 billion -
3:36 - 3:41unique addresses for devices connecting to
the internet. But the internet has turned -
3:41 - 3:47out to be much more popular than even Vint
Cerf imagined and 4 billion unique addresses -
3:47 - 3:53won't be enough. We're now in the middle of
a multi-year transition to a longer IP address -
3:53 - 4:04format called IPv6, which uses 128 bits per
address and provides over 340 undecillion -
4:04 - 4:09unique addresses. That's more than enough
for every grain of sand on Earth to have its -
4:09 - 4:16own IP address. Most users never see or care
about internet addresses. A system called -
4:16 - 4:23the domain name system or DNS associates names
like www.example.com with the corresponding -
4:23 - 4:29addresses. Your computer uses the DNS to look
up domain names and get the associated IP -
4:29 - 4:33address which is used to connect your computer
to the destination on the internet. And it -
4:33 - 4:38goes a little something like this: (voice
1) "Hey, hi there, I want to go to www.code.org." -
4:38 - 4:50(voice 2) "Mm.. yeah I don't know the IP address
for that domain let me ask around. Hey, do -
4:50 - 4:59you know how to get to code.org?" (voice 3)
"Yeah, I got it right here it's 174.129.14.120." -
4:59 - 5:04(voice 2) "Oh okay, great, thanks. I'm gonna
write that down and save it for later in case -
5:04 - 5:14I need it again. Hey here's that address you
wanted." (voice 1) "Awesome! Thank you." So -
5:14 - 5:20how do we design a system for billions of
devices to find any one of billions of different -
5:20 - 5:28websites? There is no way one DNS server can
handle all the requests from all devices. -
5:28 - 5:33The answer is that DNS servers are connected
in a distributed hierarchy, and are divided -
5:33 - 5:41into zones, splitting up responsibility for
the major domains such as .org, .com, .net, -
5:41 - 5:48etc. DNS was originally created to be an open
and public communication protocol for government -
5:48 - 5:55and educational institutions. Because of its
openness, DNS is susceptible to cyber attacks. -
5:55 - 6:03An example attack is DNS spoofing. That's
when a hacker taps into a DNS server and changes -
6:03 - 6:09it to match a domain name with the wrong IP
address. This lets the attacker send people -
6:09 - 6:16to an imposter website. If this happens to
you, you are vulnerable for more problems -
6:16 - 6:24because you are using that fake website as
if it's real. The internet is huge and getting -
6:24 - 6:31bigger everyday. But the domain name system
and internet protocol are designed to scale, -
6:31 - 6:35no matter how much the internet grows.
- Title:
- The Internet: IP Addresses and DNS
- Description:
-
The co-founder of the Internet (!) Vint Cerf and software engineer Paola Mejia take us through the ins and outs of how networks talk to each other and what makes the Internet tick.
Start learning at http://code.org/
Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg - Video Language:
- English
- Duration:
- 06:45
![]() |
Code.org edited English subtitles for The Internet: IP Addresses and DNS |