The DNS gives mapping between comprehensible names (like www.amazon.com) and their related IP addresses (like 22.214.171.124). DNS can be best contrasted with a telephone directory where you look into the telephone numbers recorded by simpler to-recollect names. DNS goes under the application layer convention.
A client types www.amazon.com in his program, which at that point inquiries the DNS server for amazon.com's IP addresses. The servers return Amazon's location so the program can demand information from Amazon's web have, which restores the components important to construct their landing page in the nearby program.
An area name is a comprehensible name—like amazon.com—that we type in an internet browser URL field. The Internet Corporation for Assigned Names and Numbers (ICANN) deals with these area names
Top Level Domain (TLD)
TLD alludes to the last piece of a space name. For instance, the .com in amazon.com is the Top Level Domain. The most widely recognized TLDs incorporate .com, .net, organization, and .information. Nation code TLDs speak to explicit geographic areas. For instance: .in speaks to India. Here are some more models:
com – Commercial organizations.
gov – U.S. government organizations.
edu – Educational establishments, for example, colleges.
organization – Organizations (generally non-benefit).
mil – Military.
net – Network associations.
eu – European Union.
Second Level Domain
This is the piece of an area name which comes directly before the TLD—amazon.com—for instance.
A subdomain can be made to distinguish one of a kind substance territories of a site. For instance, the aws of aws.amazon.com.
Area Name Registrar
By overseeing area name reservations, name recorders are basic to how DNS functions. ICANN at present awards authorization to associations to go about as area name recorders for explicit more elevated level spaces.
Like a telephone directory, the name server is an assortment of area names coordinated to IP addresses.