Domain Name Service (DNS)
Domain Name Service (DNS)
SERVICE
(DNS)
WHAT IS DNS?
DNS is a host name to IP address
translation service
DNS is
a distributed database implemented in a hierarchy of
name servers
an application level protocol for message exchange
between clients and servers
WHY DNS?
It is easier to remember a host name than it is
to remember an IP address.
An name has more meaning to a user than a 4
byte number.
Applications such as FTP, HTTP, email, etc., all
require the user to input a destination.
The user generally enters a host name.
The application takes the host name supplied
by the user and forwards it to DNS for
translation to an IP address.
3
DISTRIBUTED, HIERARCHICAL
DATABASE
Root DNS Servers
amazon.com
pbs.org
poly.edu
umass.edu
DNS servers
OPERATION OF DNS
DNS uses caching to increase the
speed with which it does the
translation.
The DNS data is stored in the database
in the form of resource records (RR).
The RRs are directly inserted in the
DNS messages.
The RRs are a 4 tuple that consist of:
{name, value, type, TTL}.
8
RRS