2076 10

CSC263 ยท 2076 ยท 5 marks

Why do we need a DNS system when we can directly use an IP address? what is domain name space?

Why do we need a DNS system when we can directly use an IP address? what is domain name space? [5]

Computer NetworksChapter 6: Application LayerDNS and the Query Types

Quick answer

1` in a browser), the DNS system is needed for the following important reasons: IP addresses are numeric (e; Domain names like www; DNS acts as a translator between human-readable domain names and machine-readable IP addresses.

DNS System and Domain Name Space

Why Do We Need DNS When We Can Directly Use IP Addresses?

Although it is technically possible to access any resource on the internet using its IP address directly (e.g., typing 192.168.1.1 in a browser), the DNS system is needed for the following important reasons:

1. Human Readability and Memory

  • IP addresses are numeric (e.g., 142.250.190.46) and are very difficult for humans to remember.
  • Domain names like www.google.com are meaningful, easy to remember, and user-friendly.
  • DNS acts as a translator between human-readable domain names and machine-readable IP addresses.

2. Flexibility and IP Change Management

  • The IP address of a server may change over time (due to server migration, ISP changes, etc.).
  • With DNS, the domain name stays the same while only the DNS record is updated in the background.
  • Users never need to know or update the new IP address.

3. Load Distribution

  • A single domain name can map to multiple IP addresses, allowing traffic to be distributed across several servers.
  • This would not be possible if users directly used a single IP address.

4. Supporting Other Programs

  • As stated in the notes, DNS is a supporting program used by other programs such as e-mail.
  • Many internet services (email, FTP, web browsing) rely on DNS to function correctly.

5. Scalability

  • The internet has billions of devices. Maintaining and distributing a manual list of IP-to-name mappings for every user would be impossible.
  • DNS provides a distributed, hierarchical, and scalable solution to this problem.

Domain Name Space

The Domain Name Space is the hierarchical and organized structure used by DNS to manage and store all domain names on the internet.

Key Characteristics:

  • The domain name space is organized as an inverted tree structure, with the root at the top.
  • The tree is divided into levels, and each node in the tree has a label.
  • The full domain name of any node is called its Fully Qualified Domain Name (FQDN), which is read from the node up to the root, separated by dots (.).

Structure of Domain Name Space:

            . (Root)
           / \
         com  org  net  edu  gov  (Top-Level Domains - TLD)
         /
      google
       /
     www
LevelExampleDescription
Root.Top of the hierarchy, managed by IANA
Top-Level Domain (TLD).com, .org, .eduFirst level below root
Second-Level Domaingoogle, exampleRegistered by organizations/individuals
Subdomainwww, mailFurther divisions within a domain

Example:

For the domain name www.google.com:

  • com is the Top-Level Domain (TLD)
  • google is the Second-Level Domain
  • www is the subdomain/host

Summary:

The domain name space is a global, hierarchical, tree-structured naming system that organizes all domain names on the internet, allowing DNS to efficiently translate human-readable names into IP addresses.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.