SlideShare a Scribd company logo
2
Most read
5
Most read
9
Most read
Domain Name Service(DNS)
• A person can be identified by several names: Full
name, nick name etc. Similarly identifiers for hosts are:
• Users prefer hostnames and routers or any machine
refers IP address so a service is needed that converts
hostnames / domains to values which is done by DNS.
Hostnames IP Address
1. Variable length(facebook,
google)
1. Fixed length(4 parts)
2. mnemonic- Easy to
remember
2. Difficult to remember the
integers.
3. Carry no information to
help route packets towards
them.
3. Routing information
embedded within them.
Definitions
• A name in a distributed system is a string of bits or characters that is refer to an
entity, ex Hosts, printers, disks, files, Processes, users, mailboxes, news groups,
Web pages etc
• Three types of names: –
Address: the name of an access point to an entity
Identifier: An identifier refers to at most one entity . An identifier always refers to the
same entity
Human-friendly name: • E.g. unix file name, DNS names
• Domain name- Label that defines a realm of administrative autonomy.ex facebook
domain comprises of host belonging to facebook.
• Names are always organized in a name space – A name space is an organization
mechanism for a group of names
Zone: Contiguous section of name space. Ex. Complete tree, a single node or subtree.
Domain Name Resolvers: Also called DNS resolvers, are the computers which are
used by ISPs to respond to a user request to resolve a domain name. "Resolving a
domain name" refers to the translation of a domain name into an IP Address.
entity
domain
root
com
edu
facebook
Overall work of DNS
WEB BROWSER
User enters
“www.facebook.com”Web browser
calls the service
DNS
IP Address
TCP
connection
to the IP
Address
Services of DNS
1. Conversion of host name to IP address.
2. Host aliasing: “alias- alternate names” .
- Many names may map finally to same address.
- Ex. www.facebook.com: www.facebok.com, www.facbook.com
- DNS prevents the user from getting trapped by false website names created by
frauds.
- Lets consider , there is a single machine running two services: Web server, e-
mail server.
For users,
Web Server, server name: www.abc.com, E-mail server name: www.xyz.com
When the user types www.xyz.com, it will connect to www.server.com.
Ex. Facebook.com (alias name)- for users, star.c10r.facebook.com(canonical
name)- original server name
If the single machine is shifted, then the users will be connected to new machine.
- Helps run multiple services from same server.(in case there is a small
Organization who cannot maintain their Own server, they create a alias for
their server but user gets connected to the server from where the organization
got its service)
3. Mail server aliasing : help specify mail server of a
given domain
Ex. Mail address is abc@cbit.ac.in (as request)
DNS finds out who is the host for e-mail server
DNS sends the host name as xyz.cbit.ac.in and then
the mail is sent.
4. Load distribution: Help distributed load across
replicated servers(every server is not working
singly but group of servers to prevent failures).
DNS rotates the server IP addresses among the
replicated servers and give back the result the IP
address of the server which can take the load.
Implementation of DNS
1. Centralized architecture
• Host asks for IP address to a central authority and
gets back the reply.
• Problem:
1.Single point of failure
2.Has to cope with high traffic volume.
3.Location: Where will be the DNS server placed?
If Its far from user then more time will be
required to get the reply.
4.Huge database maintenance
5.Overall its not scalable.
2. Hierarchical & distributed
Implementation
Local DNS server- provides DNS service to hosts within
an organization.
Root DNS Server
com
There are 13 root servers
Controlled by US
com org
edu in uk Top level domain
amazon
facebook
co
ac
gov
cbit
Authoritative DNS servers
Ways to resolve domain names
client
Local
DNS
Root
.com TLD
server
Facebook
authoritative
server
1
2 3
4
5
6
7
8
IP address
Of facebook.com?
1. Iterative way
• Iterative way:-
1. Client requests for IP address of facebook.com to its local DNS.
2. Local DNS sends the request to the root .
3. Root returns the IP address of the DNS server which handles the .com
domain
4. Same request to .com TLD server.
5. .com returns the IP address of facebook authoritative server address.
6. Same request to facebook.com server
7,8. The actual IP address is returned to client.
2. Recursive solution
client facebook
.com
Root
Local
DNS
1
8
2
7
3
6
4
5
Disadvantage: Root server is bottleneck, it it breaks then other servers
cannot be contacted.

More Related Content

PPTX
Dns presentation
PDF
DNS (Domain Name System)
PDF
Presentation on Domain Name System
PPT
PPT
Domain name system
PPT
Dns ppt
PPTX
Domain name system
PPT
Domain name system
Dns presentation
DNS (Domain Name System)
Presentation on Domain Name System
Domain name system
Dns ppt
Domain name system
Domain name system

What's hot (20)

PPT
Domain Name System
PPTX
Network address translation
PPTX
Domain name system
PPTX
Domain Name System DNS
PPT
Domain Name System
PPTX
DHCP & DNS
PPTX
DNS(Domain Name System)
PDF
MAC Address – All you Need to Know About it
PPTX
Dns server
PPTX
What is active directory
PPTX
Domain Name System
PPTX
Domain name system (dns)
PPTX
PPTX
Simple Mail Transfer Protocol
PPT
PPTX
MAC & IP addresses
PPT
Active directory
PDF
Introduction to Web Services
PPTX
PPTX
Presentation on dns
Domain Name System
Network address translation
Domain name system
Domain Name System DNS
Domain Name System
DHCP & DNS
DNS(Domain Name System)
MAC Address – All you Need to Know About it
Dns server
What is active directory
Domain Name System
Domain name system (dns)
Simple Mail Transfer Protocol
MAC & IP addresses
Active directory
Introduction to Web Services
Presentation on dns
Ad

Viewers also liked (17)

PPT
System models 2 in distributed system
PPT
Introduction to distributed system
PPT
Remote invocation
PPT
Operating system support in distributed system
DOCX
Remote Method Invocation
PPT
Ds objects and models
PPT
System models in distributed system
PPT
Comparison between-rpc-rmi-and-webservices-son-1228374226080667-8
PPTX
Modern Distributed Messaging and RPC
PPTX
Remote procedure call on client server computing
PPTX
Computer arithmetic in computer architecture
PPT
PPTX
Computer organization
PPTX
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
PPT
Distributes objects and Rmi
PPT
message passing
PPT
remote procedure calls
System models 2 in distributed system
Introduction to distributed system
Remote invocation
Operating system support in distributed system
Remote Method Invocation
Ds objects and models
System models in distributed system
Comparison between-rpc-rmi-and-webservices-son-1228374226080667-8
Modern Distributed Messaging and RPC
Remote procedure call on client server computing
Computer arithmetic in computer architecture
Computer organization
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
Distributes objects and Rmi
message passing
remote procedure calls
Ad

Similar to Domain name service (20)

PPTX
Domain Name System and Dynamic Host Configuration Protocol.pptx
PPT
Dns1111111111
PPTX
DOMAIN NAME SYSTEM.pptx
PPTX
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
PPT
DNS resolution
PDF
System and Network Administration Chapter 2
PDF
Domain Name System (DNS) Fundamentals
PPTX
Domain name system
PPTX
Exploring the Application Layer: DNS, FQDN, SMTP, Web-Based Email, and FTP Ex...
PPTX
Presentation on DNS by Debayan Acharyya.pptx
PPTX
Presentation2.pptx
PPTX
DNS for Developers - NDC Oslo 2016
PPTX
DNS Presentation
PPTX
COMPUTER COMMUNICATION AND NETWORWING LAB - 06.pptx
PPTX
Route53 class
DOCX
Linux basics andng hosti
PPTX
The Application Layer
Domain Name System and Dynamic Host Configuration Protocol.pptx
Dns1111111111
DOMAIN NAME SYSTEM.pptx
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
DNS resolution
System and Network Administration Chapter 2
Domain Name System (DNS) Fundamentals
Domain name system
Exploring the Application Layer: DNS, FQDN, SMTP, Web-Based Email, and FTP Ex...
Presentation on DNS by Debayan Acharyya.pptx
Presentation2.pptx
DNS for Developers - NDC Oslo 2016
DNS Presentation
COMPUTER COMMUNICATION AND NETWORWING LAB - 06.pptx
Route53 class
Linux basics andng hosti
The Application Layer

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
master seminar digital applications in india
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Business Ethics Teaching Materials for college
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Types and Its function , kingdom of life
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Basic Mud Logging Guide for educational purpose
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pre independence Education in Inndia.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
01-Introduction-to-Information-Management.pdf
Insiders guide to clinical Medicine.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
O7-L3 Supply Chain Operations - ICLT Program
Renaissance Architecture: A Journey from Faith to Humanism
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
master seminar digital applications in india
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Business Ethics Teaching Materials for college
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Domain name service

  • 1. Domain Name Service(DNS) • A person can be identified by several names: Full name, nick name etc. Similarly identifiers for hosts are: • Users prefer hostnames and routers or any machine refers IP address so a service is needed that converts hostnames / domains to values which is done by DNS. Hostnames IP Address 1. Variable length(facebook, google) 1. Fixed length(4 parts) 2. mnemonic- Easy to remember 2. Difficult to remember the integers. 3. Carry no information to help route packets towards them. 3. Routing information embedded within them.
  • 2. Definitions • A name in a distributed system is a string of bits or characters that is refer to an entity, ex Hosts, printers, disks, files, Processes, users, mailboxes, news groups, Web pages etc • Three types of names: – Address: the name of an access point to an entity Identifier: An identifier refers to at most one entity . An identifier always refers to the same entity Human-friendly name: • E.g. unix file name, DNS names • Domain name- Label that defines a realm of administrative autonomy.ex facebook domain comprises of host belonging to facebook. • Names are always organized in a name space – A name space is an organization mechanism for a group of names Zone: Contiguous section of name space. Ex. Complete tree, a single node or subtree. Domain Name Resolvers: Also called DNS resolvers, are the computers which are used by ISPs to respond to a user request to resolve a domain name. "Resolving a domain name" refers to the translation of a domain name into an IP Address.
  • 4. Overall work of DNS WEB BROWSER User enters “www.facebook.com”Web browser calls the service DNS IP Address TCP connection to the IP Address
  • 5. Services of DNS 1. Conversion of host name to IP address. 2. Host aliasing: “alias- alternate names” . - Many names may map finally to same address. - Ex. www.facebook.com: www.facebok.com, www.facbook.com - DNS prevents the user from getting trapped by false website names created by frauds. - Lets consider , there is a single machine running two services: Web server, e- mail server. For users, Web Server, server name: www.abc.com, E-mail server name: www.xyz.com When the user types www.xyz.com, it will connect to www.server.com. Ex. Facebook.com (alias name)- for users, star.c10r.facebook.com(canonical name)- original server name If the single machine is shifted, then the users will be connected to new machine. - Helps run multiple services from same server.(in case there is a small Organization who cannot maintain their Own server, they create a alias for their server but user gets connected to the server from where the organization got its service)
  • 6. 3. Mail server aliasing : help specify mail server of a given domain Ex. Mail address is abc@cbit.ac.in (as request) DNS finds out who is the host for e-mail server DNS sends the host name as xyz.cbit.ac.in and then the mail is sent. 4. Load distribution: Help distributed load across replicated servers(every server is not working singly but group of servers to prevent failures). DNS rotates the server IP addresses among the replicated servers and give back the result the IP address of the server which can take the load.
  • 7. Implementation of DNS 1. Centralized architecture • Host asks for IP address to a central authority and gets back the reply. • Problem: 1.Single point of failure 2.Has to cope with high traffic volume. 3.Location: Where will be the DNS server placed? If Its far from user then more time will be required to get the reply. 4.Huge database maintenance 5.Overall its not scalable.
  • 8. 2. Hierarchical & distributed Implementation Local DNS server- provides DNS service to hosts within an organization. Root DNS Server com There are 13 root servers Controlled by US com org edu in uk Top level domain amazon facebook co ac gov cbit Authoritative DNS servers
  • 9. Ways to resolve domain names client Local DNS Root .com TLD server Facebook authoritative server 1 2 3 4 5 6 7 8 IP address Of facebook.com? 1. Iterative way
  • 10. • Iterative way:- 1. Client requests for IP address of facebook.com to its local DNS. 2. Local DNS sends the request to the root . 3. Root returns the IP address of the DNS server which handles the .com domain 4. Same request to .com TLD server. 5. .com returns the IP address of facebook authoritative server address. 6. Same request to facebook.com server 7,8. The actual IP address is returned to client.
  • 11. 2. Recursive solution client facebook .com Root Local DNS 1 8 2 7 3 6 4 5 Disadvantage: Root server is bottleneck, it it breaks then other servers cannot be contacted.