Question: Explain the need for DNS and describe the protocol functioning.

Mumbai University >Computer>Sem5>Computer Networks

Marks: 5 M

Year: May 2015

modified 2.9 years ago by gravatar for Sagar Narkar Sagar Narkar1.5k written 3.0 years ago by gravatar for Ramnath Ramnath3.7k


  1. DNS Stands for Domain Name System.

  2. DNS is a hierarchical decentralized naming system for computers, services, or any resource connected to the Internet or a private network.

  3. DNS is an Internet service that translates domain names into IP addresses.

  4. Because domain names are alphabetic, they're easier to remember.

  5. The Internet however, is really based on IP addresses.

  6. Every time you use a domain name, therefore, a DNS service must translate the name into the corresponding IP address.

  7. For example, the domain name might translate to

Need for DNS:

  1. One identifier for a host is its hostname.

  2. Hostnames are mnemonic and are therefore appreciated by humans. such as: a. b. c. d.

  3. Hostnames provide little information about the location within the Internet of the host.

  4. A hostname such as, which ends with the country code .fr, tells us that the host is in France, but doesn't say much more.

  5. Furthermore, because hostnames can consist of variable-length alpha-numeric characters, they would be difficult to process by routers.

  6. For these reasons, hosts are also identified by so-called IP addresses.

  7. An IP address consists of four bytes and has a rigid hierarchical structure.

  8. An IP address looks like, where each period separates one of the bytes expressed in decimal notation from 0 to 127.

  9. An IP address is hierarchical because as we scan the address from left to right, we obtain more and more specific information about where the host is located in the Internet. (Like a postal address)

  10. An IP address is included in the header of each IP datagram.

  11. Internet routers use this IP address to route datagram towards its destination.

DNS Protocol Functioning:

  1. User type a domain name such as ‘’ into the browser (“client”).

  2. The client needs to find the IP address where ‘www.’ content is located.

  3. Browser will send this query to the operating system of the computer.

  4. Each operating system is configured to query certain DNS servers (Resolving Name Server).

  5. The resolving name server is not aware of the location of ‘’, but it does know where the root servers are located.

  6. Next, the resolving name server finds the location of the top-level domain name server (In this case COM severs) and sends a query for ‘’.

  7. Each domain on the Internet has an Authoritative name server.

  8. Finally, the authoritative name server will give you the exact IP address of ‘’.

  9. This information will come back to the resolving name server, which caches the information and sends backs the information to your browser.

  10. And at the end, you would find yourself on Topper’s Solutions homepage.

  11. All these complex task take place in seconds.

enter image description here

written 2.9 years ago by gravatar for Sagar Narkar Sagar Narkar1.5k
  • Commonly used suffixes to specify domain names:

    • com - commercial organization. E.g. :

    • edu – educational organization.

    • org – non profit organization.

    • net – network support group.

    • gov – government institution

    • mil – military group

    • int – international organization.

  • Country specific suffixes:

    • in – India

    • uk – United Kingdom

    • jp – Japan

The DNS Name Space

(1) The internet is divided into hundreds of domains. Each domain can be further subdivided into sub-domains which can be further sub divided and so on.

(2) This created a tree like structure …….

  • Leaf represent lowest level domain that cannot be classified further but it can have several hosts connected to it.

  • The topmost domains are classified into:

written 3.0 years ago by gravatar for Ramnath Ramnath3.7k
Please log in to add an answer.