Return to Video

The Internet: IP Addresses and DNS

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

more » « less
Video Language:
English
Duration:
06:45

English subtitles

Revisions