Answer:
The main purpose of the DNS is to resolve human-friendly URLs into IP addresses (numerical, logical addresses).
Architecture of DNS - Domain Name Service (DNS) is a hierarchical system of name servers, each authoritive for one or more domains within the Domain Name Space. Organisation of name servers, root servers, then those lower down the hierarchy to leaf (zonedomain) level. Delegation of responsibility resulting in a scalable and easy-to-modify distributed database
The DNS hierarchical structure above
The following four types of server are used in the DNS:
Primary master retrieves data from the host that it runs on and its data is held in a stored database. The Secondary master gets its data from another master that authoritative for the zone (i.e. a Primary Master). It contacts an authoritative name server and pulls the zone data over greatly reduce administrative load. The Caching name server does not have a database of mappings between IP addresses and names at start-up. It knows of Primary and Secondary servers which can supply such information if required. The use of caching servers are used to reduce the load on Primary and Secondary servers. The slave name server operates in a similar way to a Caching name server however it is less sophisticated than the other types of server and cannot not follow redirections. Query types could be either recursive or iterative. With iterative queries the NS gives the best answer it already knows. This