SlideShare una empresa de Scribd logo
1 de 37
GL

BAL

Institute of Information Technology
A Presentation on
Domain Name System
Group Name :-

G2

Group Members :- Gaurav Kumar
Sahil Sardana
Contents :

Key terms


What is internet



How do they connect
History of the DNS



Introduction to the DNS



Components of the DNS






The servers




The namespace
The resolvers

Conclusion
What is the internet?


The internet is a global system of interconnected
computer networks . It is a network of networks that
consists of millions of private and public , academic ,
business and government networks of local to global
space that are linked by transmission media such as
copper wires , fiber optic cables , wireless connections
and other technologies .
How do they Connect?


A network of computers connected to each
other is called internet and these computers
needed to know which computer they were
connecting to, so each computer was given a
unique number – an IP (Internet Protocol)
number. E.g. 121.245.078.2
In the Beginning...


There was the ARPANET’s HOSTS.TXT file





Each computer on the network retrieved a file called
HOSTS.TXT
HOSTS.TXT mapped every ARPANET host’s name to its
IP address.

The HOSTS.TXT file mapped numerical addresses to
names.




Allows users to specify an IP address (e.g. 192.0.34.166)
to use for a host name (e.g. www.google.com)
without checking DNS.

Systems based on a hosts file have inherent limitations
The Problems with
HOSTS.TXT


Consistency
 The

network changed more quickly
than the file was updated



Name collisions
 No

two hosts could have the same
name
 “Good”

names quickly exhausted

 There

was no good method to prevent
duplicate names
 Human



intervention was required

Traffic and load
Solving the Problem


ARPANET powers-that-were launched an
investigation into replacement for
HOSTS.TXT



Requirements:
 Decentralized

administration

 With

data updated locally, but
available globally

A

hierarchical name space

 To

guarantee unique names
Domain Name System ?


The domain name system is usually used
to translate a host name into an IP
address and vice versa.



Domain names comprise a hierarchy so
that names are unique, yet easy to
remember.



DNS implements a distributed database to
store domain name and address
information for all public hosts on the
Internet.



Defines a hierarchical namespace where
each level of the namespace is separated
by a “.”
Continued…
A fully qualified domain name is
processed from right to left for its
translation into the corresponding IP
address. A fully qualified domain name can
be made up of a top level domain
(TLD), second level domain (SLD) and sub
domains
Domain Names


A domain name is the sequence of labels from a node
to the root, separated by dots (“ . ”), read left to right
in
Subdomains


One domain is a subdomain of another if
its apex node is a descendant of the
other’s apex node



More simply, one domain is a subdomain
of another if its domain name ends in the
other’s domain name
 So

abc.webs.com is a subdomain of

 webs.com
 com
 webs.com

is a subdomain of com
Components of the DNS :

The Name Space



The Servers



The Resolver
The Name Space


The name space is the structure of the DNS database
 An



inverted tree with the root node at the top

Each node has a label
The root node
""

top-level node

second-level node

third-level node

top-level node

second-level node

second-level node

third-level node

top-level node

second-level node

third-level node

second-level node
Name Servers


Name servers store information about the
name space in units called “zones”
 The

name servers that load a complete
zone are said to “have authority for”
or “be authoritative for” the zone



Usually, more than one name server are
authoritative for the same zone
 This

ensures redundancy and spreads
the load



Also, a single name server may be
authoritative for many zones
Types of Name Servers :Two main types of servers


Local name servers:


Each ISP, company has local (default)
name server



Host DNS query first goes to local
name server
Authoritative name server:



For a host: stores that host’s IP
address, name



Can perform name/address translation
for that host’s name
Root Name Server


Contacted by local name server that can not resolve
name



Root name server:


contacts authoritative name server if name mapping
not known



Gets mapping & returns mapping to local name
server
Name Resolution




Name resolution is the process by which client and
Local name servers cooperate to find data in the name
space.
A Local name server receives a query from a client ,
looks for the answer in its database
 If

the answer isn’t in the database and the server
isn’t authoritative for the answer, the answer must
be
looked up.
The Resolution Process


Let’s look at the resolution process stepby-step:

Client Computer

www.google.com
The Resolution Process


The client computers asks its Local name
server, for www.google.com’s address

Local Name Server

What’s the IP address
of www.google.com?

Client Computer

www.google.com
The Resolution Process


The Local name server asks a Root name server , for
www.google.com’s address

Local Name Server

What’s the IP address
of www.google.com?

Client Computer

www.google.com

Root Server
The Resolution Process


The root server refers Local name server to the
.com name servers.

Local Name Server

Client Computer

www.google.com

Root Server

Here’s a list of the
.com name servers.
Ask one of them.
The Resolution Process


The Local name server asks .com name
server, for www.google.com’s address
What’s the IP address
of www.google.com?

Root Server

Local Name Server

.com Server

Client Computer

www.google.com
The Resolution Process


The com name server refers Local name
server to the google.com name servers
Here’s a list of the
google.com name
servers. Ask one
of them.
Root Server

Local Name Server

.com Server

Client Computer

www.google.com
The Resolution Process


The Local name server asks google.com name
server, for www.google.com’s address
What’s the IP address
of www.google.com?

Root Server

Local Name Server

Google.com Server

.com Server

Client Computer

www.google.com
The Resolution Process


The google.com name server responds with
www.google.com’s address

Root Server

Local Name Server

Here’s the IP
address for
www.google.com

Google.com Server

.com Server

Client Computer

www.google.com
The Resolution Process


The Local name server responds to client
computer with www.google.com’s address
Here’s the IP
address for
www.google.com
Root Server

Local Name Server

Google.com Server

.com Server

Client Computer

www.google.com
Resolution Process (Caching)


After the previous query, the Local name server now
knows:
 The

names and IP addresses of the com name servers

 The

names and IP addresses of the
servers

 The


google.com

IP address of www.google.com

Let’s look at the resolution process again

Client Computer

www.google.com

name
Resolution Process (Caching)


The client computer asks its Local name
server, for www.google.com’s address

Root Server

Local Name Server

What’s the IP address
of google.com?

Google.com Server

.com Server

Client Computer

www.google.com
Resolution Process (Caching)


The Local name server responds to client
computer with www.google.com’s address
Here’s the IP
address for
google.com
Root Server

Local Name Server

Google.com Server

.com Server

Client Computer

www.google.com
Conclusion


DNS is like a phone book for the Internet.
If we know a person’s name but don’t
know his mobile number, we can simply
look it up in a phone book. DNS provides
this same service to the Internet.



When we visit www.google.com in a
browser, our computer uses DNS to
retrieve the website’s IP address
of 173.194.69.147 .
Dns
Dns

Más contenido relacionado

La actualidad más candente

Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
webhostingguy
 
Domain name server
Domain name serverDomain name server
Domain name server
Mobile88
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
Anand Grewal
 
Presentation: the domain name system
Presentation: the domain name systemPresentation: the domain name system
Presentation: the domain name system
webhostingguy
 

La actualidad más candente (20)

DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
Dns2
Dns2Dns2
Dns2
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Dns
DnsDns
Dns
 
Windows Server 2019.pptx
Windows Server 2019.pptxWindows Server 2019.pptx
Windows Server 2019.pptx
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
 
Dns
DnsDns
Dns
 
Domain name server
Domain name serverDomain name server
Domain name server
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Dhcp
DhcpDhcp
Dhcp
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
Linux 101
Linux 101Linux 101
Linux 101
 
Presentation: the domain name system
Presentation: the domain name systemPresentation: the domain name system
Presentation: the domain name system
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
DNS Security
DNS SecurityDNS Security
DNS Security
 
System and network administration network services
System and network administration network servicesSystem and network administration network services
System and network administration network services
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 

Destacado

Module 2 Lesson 1
Module 2 Lesson 1Module 2 Lesson 1
Module 2 Lesson 1
claytors
 
Fyltex 2-6x Part 2
Fyltex 2-6x Part 2Fyltex 2-6x Part 2
Fyltex 2-6x Part 2
MarcelaLugo
 
ViM People - Expansion
ViM People - ExpansionViM People - Expansion
ViM People - Expansion
ViMPeople
 
Presentation2k
Presentation2kPresentation2k
Presentation2k
wkcmedia1
 
Anchorage presentation
Anchorage presentationAnchorage presentation
Anchorage presentation
Aaron Hicks
 
Designe et nettsted weboppg
Designe et nettsted   weboppgDesigne et nettsted   weboppg
Designe et nettsted weboppg
heidicliick
 
P pt el alamein
P pt el alameinP pt el alamein
P pt el alamein
Riski W
 
escuela de comercio y administración por lilibeth nuñez
escuela de comercio y administración por lilibeth nuñezescuela de comercio y administración por lilibeth nuñez
escuela de comercio y administración por lilibeth nuñez
lilibethknc
 
Italia di gusto - Marco Tonnarelli
Italia di gusto - Marco TonnarelliItalia di gusto - Marco Tonnarelli
Italia di gusto - Marco Tonnarelli
Marco Tonnarelli
 

Destacado (20)

2011 World Usability Day - Darren Kall - Kall Consulting
2011 World Usability Day - Darren Kall - Kall Consulting2011 World Usability Day - Darren Kall - Kall Consulting
2011 World Usability Day - Darren Kall - Kall Consulting
 
Module 2 Lesson 1
Module 2 Lesson 1Module 2 Lesson 1
Module 2 Lesson 1
 
Fyltex 2-6x Part 2
Fyltex 2-6x Part 2Fyltex 2-6x Part 2
Fyltex 2-6x Part 2
 
I am great
I am greatI am great
I am great
 
ViM People - Expansion
ViM People - ExpansionViM People - Expansion
ViM People - Expansion
 
Presentation2k
Presentation2kPresentation2k
Presentation2k
 
'Saved by PowerPoint'
'Saved by PowerPoint' 'Saved by PowerPoint'
'Saved by PowerPoint'
 
2
22
2
 
Anchorage presentation
Anchorage presentationAnchorage presentation
Anchorage presentation
 
Designe et nettsted weboppg
Designe et nettsted   weboppgDesigne et nettsted   weboppg
Designe et nettsted weboppg
 
Verdij Online Fejvadász
Verdij Online FejvadászVerdij Online Fejvadász
Verdij Online Fejvadász
 
Bordadeira do ferro
Bordadeira do ferroBordadeira do ferro
Bordadeira do ferro
 
Битрикс - что должен уметь современный интернет-магазин
Битрикс - что должен уметь современный интернет-магазинБитрикс - что должен уметь современный интернет-магазин
Битрикс - что должен уметь современный интернет-магазин
 
Carnaval hollandais
Carnaval hollandaisCarnaval hollandais
Carnaval hollandais
 
Revistas diciembre2
Revistas diciembre2Revistas diciembre2
Revistas diciembre2
 
P pt el alamein
P pt el alameinP pt el alamein
P pt el alamein
 
List demo2
List demo2List demo2
List demo2
 
escuela de comercio y administración por lilibeth nuñez
escuela de comercio y administración por lilibeth nuñezescuela de comercio y administración por lilibeth nuñez
escuela de comercio y administración por lilibeth nuñez
 
Sustainable Construction Research - Micro Storage Energy Buildings
Sustainable Construction Research - Micro Storage Energy BuildingsSustainable Construction Research - Micro Storage Energy Buildings
Sustainable Construction Research - Micro Storage Energy Buildings
 
Italia di gusto - Marco Tonnarelli
Italia di gusto - Marco TonnarelliItalia di gusto - Marco Tonnarelli
Italia di gusto - Marco Tonnarelli
 

Similar a Dns

How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
Amandeep Kaur
 
Domain name system advanced power point presentation
Domain name system advanced power point presentationDomain name system advanced power point presentation
Domain name system advanced power point presentation
rituchouhan1508
 

Similar a Dns (20)

Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
Domain Name System(ppt)
Domain Name System(ppt)Domain Name System(ppt)
Domain Name System(ppt)
 
Dns server
Dns serverDns server
Dns server
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt
 
Application layer
Application layerApplication layer
Application layer
 
What is a domain name system(dns)?
What is a domain name system(dns)?What is a domain name system(dns)?
What is a domain name system(dns)?
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
D.N.S
D.N.SD.N.S
D.N.S
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)
 
Dns And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
Dns and irc
Dns and ircDns and irc
Dns and irc
 
Domain name system advanced power point presentation
Domain name system advanced power point presentationDomain name system advanced power point presentation
Domain name system advanced power point presentation
 
Internet dns introduction
Internet dns introductionInternet dns introduction
Internet dns introduction
 
DomainNameSystem
DomainNameSystemDomainNameSystem
DomainNameSystem
 

Más de Intekhab Alam Khan (13)

Web search engine
Web search engineWeb search engine
Web search engine
 
Sensor technology
Sensor technologySensor technology
Sensor technology
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Li fi
Li fiLi fi
Li fi
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial intelligenc
Artificial intelligencArtificial intelligenc
Artificial intelligenc
 
Artificial inteligence
Artificial inteligenceArtificial inteligence
Artificial inteligence
 
Android
AndroidAndroid
Android
 
Sixth sense technology
Sixth sense technologySixth sense technology
Sixth sense technology
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Android
Android Android
Android
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interface
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Dns

  • 2. A Presentation on Domain Name System Group Name :- G2 Group Members :- Gaurav Kumar Sahil Sardana
  • 3. Contents : Key terms  What is internet  How do they connect History of the DNS  Introduction to the DNS  Components of the DNS    The servers   The namespace The resolvers Conclusion
  • 4. What is the internet?  The internet is a global system of interconnected computer networks . It is a network of networks that consists of millions of private and public , academic , business and government networks of local to global space that are linked by transmission media such as copper wires , fiber optic cables , wireless connections and other technologies .
  • 5. How do they Connect?  A network of computers connected to each other is called internet and these computers needed to know which computer they were connecting to, so each computer was given a unique number – an IP (Internet Protocol) number. E.g. 121.245.078.2
  • 6. In the Beginning...  There was the ARPANET’s HOSTS.TXT file    Each computer on the network retrieved a file called HOSTS.TXT HOSTS.TXT mapped every ARPANET host’s name to its IP address. The HOSTS.TXT file mapped numerical addresses to names.   Allows users to specify an IP address (e.g. 192.0.34.166) to use for a host name (e.g. www.google.com) without checking DNS. Systems based on a hosts file have inherent limitations
  • 7. The Problems with HOSTS.TXT  Consistency  The network changed more quickly than the file was updated  Name collisions  No two hosts could have the same name  “Good” names quickly exhausted  There was no good method to prevent duplicate names  Human  intervention was required Traffic and load
  • 8. Solving the Problem  ARPANET powers-that-were launched an investigation into replacement for HOSTS.TXT  Requirements:  Decentralized administration  With data updated locally, but available globally A hierarchical name space  To guarantee unique names
  • 9. Domain Name System ?  The domain name system is usually used to translate a host name into an IP address and vice versa.  Domain names comprise a hierarchy so that names are unique, yet easy to remember.  DNS implements a distributed database to store domain name and address information for all public hosts on the Internet.  Defines a hierarchical namespace where each level of the namespace is separated by a “.”
  • 10. Continued… A fully qualified domain name is processed from right to left for its translation into the corresponding IP address. A fully qualified domain name can be made up of a top level domain (TLD), second level domain (SLD) and sub domains
  • 11. Domain Names  A domain name is the sequence of labels from a node to the root, separated by dots (“ . ”), read left to right
  • 12.
  • 13. in
  • 14.
  • 15. Subdomains  One domain is a subdomain of another if its apex node is a descendant of the other’s apex node  More simply, one domain is a subdomain of another if its domain name ends in the other’s domain name  So abc.webs.com is a subdomain of  webs.com  com  webs.com is a subdomain of com
  • 16.
  • 17. Components of the DNS : The Name Space  The Servers  The Resolver
  • 18. The Name Space  The name space is the structure of the DNS database  An  inverted tree with the root node at the top Each node has a label The root node "" top-level node second-level node third-level node top-level node second-level node second-level node third-level node top-level node second-level node third-level node second-level node
  • 19. Name Servers  Name servers store information about the name space in units called “zones”  The name servers that load a complete zone are said to “have authority for” or “be authoritative for” the zone  Usually, more than one name server are authoritative for the same zone  This ensures redundancy and spreads the load  Also, a single name server may be authoritative for many zones
  • 20. Types of Name Servers :Two main types of servers  Local name servers:  Each ISP, company has local (default) name server  Host DNS query first goes to local name server Authoritative name server:  For a host: stores that host’s IP address, name  Can perform name/address translation for that host’s name
  • 21. Root Name Server  Contacted by local name server that can not resolve name  Root name server:  contacts authoritative name server if name mapping not known  Gets mapping & returns mapping to local name server
  • 22. Name Resolution   Name resolution is the process by which client and Local name servers cooperate to find data in the name space. A Local name server receives a query from a client , looks for the answer in its database  If the answer isn’t in the database and the server isn’t authoritative for the answer, the answer must be looked up.
  • 23. The Resolution Process  Let’s look at the resolution process stepby-step: Client Computer www.google.com
  • 24. The Resolution Process  The client computers asks its Local name server, for www.google.com’s address Local Name Server What’s the IP address of www.google.com? Client Computer www.google.com
  • 25. The Resolution Process  The Local name server asks a Root name server , for www.google.com’s address Local Name Server What’s the IP address of www.google.com? Client Computer www.google.com Root Server
  • 26. The Resolution Process  The root server refers Local name server to the .com name servers. Local Name Server Client Computer www.google.com Root Server Here’s a list of the .com name servers. Ask one of them.
  • 27. The Resolution Process  The Local name server asks .com name server, for www.google.com’s address What’s the IP address of www.google.com? Root Server Local Name Server .com Server Client Computer www.google.com
  • 28. The Resolution Process  The com name server refers Local name server to the google.com name servers Here’s a list of the google.com name servers. Ask one of them. Root Server Local Name Server .com Server Client Computer www.google.com
  • 29. The Resolution Process  The Local name server asks google.com name server, for www.google.com’s address What’s the IP address of www.google.com? Root Server Local Name Server Google.com Server .com Server Client Computer www.google.com
  • 30. The Resolution Process  The google.com name server responds with www.google.com’s address Root Server Local Name Server Here’s the IP address for www.google.com Google.com Server .com Server Client Computer www.google.com
  • 31. The Resolution Process  The Local name server responds to client computer with www.google.com’s address Here’s the IP address for www.google.com Root Server Local Name Server Google.com Server .com Server Client Computer www.google.com
  • 32. Resolution Process (Caching)  After the previous query, the Local name server now knows:  The names and IP addresses of the com name servers  The names and IP addresses of the servers  The  google.com IP address of www.google.com Let’s look at the resolution process again Client Computer www.google.com name
  • 33. Resolution Process (Caching)  The client computer asks its Local name server, for www.google.com’s address Root Server Local Name Server What’s the IP address of google.com? Google.com Server .com Server Client Computer www.google.com
  • 34. Resolution Process (Caching)  The Local name server responds to client computer with www.google.com’s address Here’s the IP address for google.com Root Server Local Name Server Google.com Server .com Server Client Computer www.google.com
  • 35. Conclusion  DNS is like a phone book for the Internet. If we know a person’s name but don’t know his mobile number, we can simply look it up in a phone book. DNS provides this same service to the Internet.  When we visit www.google.com in a browser, our computer uses DNS to retrieve the website’s IP address of 173.194.69.147 .