DNS: Introduction

DNS is the Internet's directory service. Let's jump right in!

How Do We Find Things on The Internet?

Generally, using one of the following ways:

  • Addresses or locations that specify where something is.
    • Just like with a physical address, we still may need a map to get to the address. On the Internet, the addresses are typically IP addresses, and routers know the map.
  • Names. In particular, domain names, or the unique name that identifies a websites, are mapped into IP addresses based on lookup service that uses a database. The most well-known lookup service is the Domain Name System (DNS). So when you enter the URL ‘educative.io’ into your browser, it uses DNS to find the actual IP address of the server that hosts it.
  • Content-based addressing.
    • The content itself is used to look up its location.

Note A Useful Analogy: Domain names are like actual people names and IPs are like phone numbers.

In this lesson, our focus will be on DNS, the client-server application layer protocol that translates hostnames on the Internet to IP addresses.

At the core, the Internet operates on IP addresses, but these are difficult to remember for humans. So, DNS names are preferably used at the application layer ...

Access this course and 1400+ top-rated courses and projects.