DNS


Definition:

DNS stands for Domain Name System. It is used to associate names with IP addresses. The computer uses domain name system to look up the ip address that are there on internet. There is no way one DNS can handle all the requests so DNS servers are connected in distributed hierarchy and divided into zones splitting the responsibility to handle. There are different major domains such as .com, .net, .org,etc. DNS are designed to scale no matter how much they grow.

Example:

Suppose if you want to visit WWW.Cyber.com then the computer ask for the address in local domain main system. If the local DNS knows the address it provides connection between the host and destination but if it doesn't know then it ask other DNS for the address if any one of them knows it provides the address to the local DNS. The local DNS also stores that address in cache for later use and provides the host with IP address.

Uses:
  • It is used to convert domain name into IP address and get the address to host.
  • This mecahnism provides distributed and fault-tolerant service.
  • It also provides faster path to destination as it stores addresses in cache.