In: Computer Science
The Domain Name System (DNS) is used in what capacity and how does it work?
WORKING OF DOMAIN NAME SYSTEM (DNS) :-
The DNS provides mapping between human-readable names (amazon) and their associated IP addresses (like 205.251.242.103). DNS can be best compared to a phone book where you look up the phone numbers listed by easier-to-remember names. DNS comes under the application layer protocol.
A user types amazon in his browser, which then queries the DNS
server for amazon.com’s IP addresses. The servers return Amazon’s
address so the browser can request data from Amazon’s web host,
which returns the elements necessary to build their home page in
the local browser.
If the name is not found, the local server will forward the query
to a DNS cache server, often provided by the Internet Service
Provider (ISP). Since the DNS server’s cache contains a temporary
store of DNS records, it will quickly respond to requests. These
DNS cache servers are called not authoritative DNS servers as they
provide request resolution based in a cached value acquired from
authoritative DNS servers.
An Authoritative Root Name Server maintains and provides a list of authoritative name servers for each of the top-level domains (.com, .org, etc.).
An Authoritative Top Level Domain Name Server maintains and provides a list of authoritative name servers for all domains (, wikipedia, etc.). Its job is to query name servers to find and return the authoritative name server for the requested domain.