SlideShare uma empresa Scribd logo
1 de 25
www.oeclib.in
Submitted By:
Odisha Electronics Control Library
Seminar
On
DNS
Content
 INTRODUCTION
 DNS HISTORY
 WHAT IS DNS?
 DNS COMPONENTS
o Name Space:
o Resolvers:
o Name Servers:
 WHY WE NEED OF DNS?
 CONCLUSION
 REFERENCES
Introduction
 The Domain Name System (DNS) is basically a large
database which resides on various computers and it
contains the names and IP addresses of various hosts on
the internet and various domains.
 The Domain Name System is used to provide
information to the Domain Name Service to use when
queries are made.
DNS History
 ARPANET utilized a central file HOSTS.TXT
 Contains names to addresses mapping
 Maintained by SRI’s NIC (Stanford-Research-Institute: Network-
Information-Center)
 Administrators email changes to NIC
 NIC updates HOSTS.TXT periodically
 Administrators FTP (download) HOSTS.TXT
DNS History Cont…
 As the system grew, HOSTS.TXT had problems with:
 Scalability (traffic and load)
 Name collisions
 Consistency
 In 1984, Paul Mockapetris released the first version
(RFCs 882 and 883, superseded by 1034 and 1035 …)
What is DNS ?
 The “Domain Name System”
 What Internet users use to reference anything by name on
the Internet
 The mechanism by which Internet software translates
names to attributes such as addresses
What is DNS ?
 A globally distributed, scalable, reliable database
 Comprised of three components
 A “name space”
 Servers making that name space available
 Resolvers (clients) which query the servers about the name space
Why we need DNS?
 DNS as a Database
 Global Distribution
 Loose Coherency
 Scalability
 Reliability
 Dynamicity
DNS as a Database
 Keys to the database are “domain names”
 www.foo.com, 18.in-addr.arpa, 6.4.e164.arpa
 Over 100,000,000 domain names stored
 Each domain name contains one or more attributes
 Known as “resource records”
 Each attribute individually retrievable
Global Distribution
 Data is maintained locally, but retrievable globally
 No single computer has all DNS data
 DNS lookups can be performed by any device
 Remote DNS data is locally cachable to improve
performance
Loose Coherency
 The database is always internally consistent
 Each version of a subset of the database (a zone) has a serial
number
 The serial number is incremented on each database change
 Changes to the master copy of the database are
replicated according to timing set by the zone
administrator
 Cached data expires according to timeout set by zone
administrator
Scalability
 No limit to the size of the database
 One server has over 20,000,000 names
 Not a particularly good idea
 No limit to the number of queries
 24,000 queries per second handled easily
 Queries distributed among masters, slaves, and caches
Reliability
 Data is replicated
 Data from master is copied to multiple slaves
 Clients can query
 Master server
 Any of the copies at slave servers
 Clients will typically query local caches
 DNS protocols can use either UDP or TCP
 If UDP, DNS protocol handles retransmission,
sequencing, etc.
Dynamicity
 Database can be updated dynamically
 Add/delete/modify of any record
 Modification of the master database triggers replication
 Only master can be dynamically updated
 Creates a single point of failure
DNS Components
There are 3 components:
 Name Space:
Specifications for a structured name space and data
associated with the names
 Resolvers:
Client programs that extract information from Name
Servers.
 Name Servers:
Server programs which hold information about the
structure and the names.
Name Space
16
 Flat Name Space
In a flat name space, a name is assigned to an address. A name in
this space is a sequence of characters without structure.
 Hierarchical Name Space
In a hierarchical name space, each name is made of several parts.
The first part can define the organization, the second part can
define the name, the third part can define departments, and so on.
Resolvers
17
A Resolver maps a name to an address and vice
versa.
Query
Response
Resolver Name Server
Iterative Resolution
18
iterative response (referral)
“I don't know. Try a3.nstld.com.”
2
a3.nstl
d.com
3
client
iterative request
“What is the IP address of
www.google.com?”
udel
server
1
iterative response (referral)
“I don't know. Try a.root-servers.net.”
4
a.root
server
5
iterative response (referral)
“I don't know. Try a.gtld-servers.net.”
6
a.gtld-
server
7
iterative response (referral)
“I don't know. Try ns1.google.com.”
8
ns1.goo
gle.com
9
iterative response
“The IP address of www.google.com
is 216.239.37.99.”10
Recursive Resolution
19
client
recursive request
“What is the IP address of
www.google.com?”
udel
serve
r
1
edu
server
2
root
server
3 com
server
4
google
server
5
recursive response
“The IP address of www.google.com is
216.239.37.99.”
6
10
7
8
9
20
Master
serverZone transfer
Zone
data
file
From
disk
Authoritative Data
(primary master and
slave zones)
Agent
(looks up queries
on behalf of resolvers)
Cache Data
(responses from
other name servers)
Name Server Process
Name Server
Architecture:
21
Resolver
Query
Response
Authoritative Data
(primary master and
slave zones)
Agent
(looks up queries
on behalf of resolvers)
Cache Data
(responses from
other name servers)
Name Server Process
Authoritative Data:
Name Server (cont’d)
22
Arbitrary
name
server
Response
Resolver
Query
Query
Authoritative Data
(primary master and
slave zones)
Agent
(looks up queries
on behalf of resolvers)
Cache Data
(responses from
other name servers)
Name Server Process
Response
Using Other Name Servers:
Name Server (cont’d)
Cached Data :
23
Query
Response
Authoritative Data
(primary master and
slave zones)
Agent
(looks up queries
on behalf of resolvers)
Cache Data
(responses from
other name servers)
Name Server Process
Resolver
Name Server (cont’d)
Reference
www.google.com
www.wikipedia.com
www.oeclib.in
THANK YOU!

Mais conteúdo relacionado

Mais procurados (20)

Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns
DnsDns
Dns
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Dns server
Dns serverDns server
Dns server
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Domain name server
Domain name serverDomain name server
Domain name server
 
Dns
DnsDns
Dns
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
Domain Name System(ppt)
Domain Name System(ppt)Domain Name System(ppt)
Domain Name System(ppt)
 
DNS Record
DNS RecordDNS Record
DNS Record
 
Client server model
Client server modelClient server model
Client server model
 
System calls
System callsSystem calls
System calls
 
Samba server
Samba serverSamba server
Samba server
 
slide on DNS
slide on DNSslide on DNS
slide on DNS
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Process management in os
Process management in osProcess management in os
Process management in os
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 

Semelhante a Domain Name System ppt

Semelhante a Domain Name System ppt (20)

CSE dns ppt.pptx
CSE dns ppt.pptxCSE dns ppt.pptx
CSE dns ppt.pptx
 
Introduction
IntroductionIntroduction
Introduction
 
Dns And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
Domain name system
Domain name systemDomain name system
Domain name system
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
008094493.pdf
008094493.pdf008094493.pdf
008094493.pdf
 
Dns
DnsDns
Dns
 
Domainnamesystem
DomainnamesystemDomainnamesystem
Domainnamesystem
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
D.N.S
D.N.SD.N.S
D.N.S
 
Dns
DnsDns
Dns
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Lecture 4 -_internet_infrastructure_2_updated_2011
Lecture 4 -_internet_infrastructure_2_updated_2011Lecture 4 -_internet_infrastructure_2_updated_2011
Lecture 4 -_internet_infrastructure_2_updated_2011
 
Network and System Administration chapter 2
Network and System Administration chapter 2Network and System Administration chapter 2
Network and System Administration chapter 2
 
Internet Host Name
Internet Host NameInternet Host Name
Internet Host Name
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
Internet Domains
Internet DomainsInternet Domains
Internet Domains
 

Mais de OECLIB Odisha Electronics Control Library

Mais de OECLIB Odisha Electronics Control Library (20)

5G technology-ppt
5G technology-ppt5G technology-ppt
5G technology-ppt
 
Futex ppt
Futex  pptFutex  ppt
Futex ppt
 
Distributed Computing ppt
Distributed Computing pptDistributed Computing ppt
Distributed Computing ppt
 
Autonomic Computing PPT
Autonomic Computing PPTAutonomic Computing PPT
Autonomic Computing PPT
 
Asynchronous Chips ppt
Asynchronous Chips pptAsynchronous Chips ppt
Asynchronous Chips ppt
 
Artificial Eye PPT
Artificial Eye PPTArtificial Eye PPT
Artificial Eye PPT
 
Agent Oriented Programming PPT
Agent Oriented Programming PPTAgent Oriented Programming PPT
Agent Oriented Programming PPT
 
Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
 
Wireless Communication ppt
Wireless Communication pptWireless Communication ppt
Wireless Communication ppt
 
4G Wireless Systems ppt
4G Wireless Systems ppt4G Wireless Systems ppt
4G Wireless Systems ppt
 
Steganography ppt
Steganography pptSteganography ppt
Steganography ppt
 
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology ppt
 
Soa ppt
Soa pptSoa ppt
Soa ppt
 
Software developement life cycle ppt
Software developement life cycle pptSoftware developement life cycle ppt
Software developement life cycle ppt
 
Voice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) pptVoice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) ppt
 
ZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY pptZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY ppt
 
Wimax ppt
Wimax pptWimax ppt
Wimax ppt
 
Wibree ppt
Wibree pptWibree ppt
Wibree ppt
 
Wearable Computing
Wearable ComputingWearable Computing
Wearable Computing
 
Virtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) pptVirtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) ppt
 

Último

Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencessuser9e7c64
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 

Último (20)

Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conference
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 

Domain Name System ppt

  • 1. www.oeclib.in Submitted By: Odisha Electronics Control Library Seminar On DNS
  • 2. Content  INTRODUCTION  DNS HISTORY  WHAT IS DNS?  DNS COMPONENTS o Name Space: o Resolvers: o Name Servers:  WHY WE NEED OF DNS?  CONCLUSION  REFERENCES
  • 3. Introduction  The Domain Name System (DNS) is basically a large database which resides on various computers and it contains the names and IP addresses of various hosts on the internet and various domains.  The Domain Name System is used to provide information to the Domain Name Service to use when queries are made.
  • 4. DNS History  ARPANET utilized a central file HOSTS.TXT  Contains names to addresses mapping  Maintained by SRI’s NIC (Stanford-Research-Institute: Network- Information-Center)  Administrators email changes to NIC  NIC updates HOSTS.TXT periodically  Administrators FTP (download) HOSTS.TXT
  • 5. DNS History Cont…  As the system grew, HOSTS.TXT had problems with:  Scalability (traffic and load)  Name collisions  Consistency  In 1984, Paul Mockapetris released the first version (RFCs 882 and 883, superseded by 1034 and 1035 …)
  • 6. What is DNS ?  The “Domain Name System”  What Internet users use to reference anything by name on the Internet  The mechanism by which Internet software translates names to attributes such as addresses
  • 7. What is DNS ?  A globally distributed, scalable, reliable database  Comprised of three components  A “name space”  Servers making that name space available  Resolvers (clients) which query the servers about the name space
  • 8. Why we need DNS?  DNS as a Database  Global Distribution  Loose Coherency  Scalability  Reliability  Dynamicity
  • 9. DNS as a Database  Keys to the database are “domain names”  www.foo.com, 18.in-addr.arpa, 6.4.e164.arpa  Over 100,000,000 domain names stored  Each domain name contains one or more attributes  Known as “resource records”  Each attribute individually retrievable
  • 10. Global Distribution  Data is maintained locally, but retrievable globally  No single computer has all DNS data  DNS lookups can be performed by any device  Remote DNS data is locally cachable to improve performance
  • 11. Loose Coherency  The database is always internally consistent  Each version of a subset of the database (a zone) has a serial number  The serial number is incremented on each database change  Changes to the master copy of the database are replicated according to timing set by the zone administrator  Cached data expires according to timeout set by zone administrator
  • 12. Scalability  No limit to the size of the database  One server has over 20,000,000 names  Not a particularly good idea  No limit to the number of queries  24,000 queries per second handled easily  Queries distributed among masters, slaves, and caches
  • 13. Reliability  Data is replicated  Data from master is copied to multiple slaves  Clients can query  Master server  Any of the copies at slave servers  Clients will typically query local caches  DNS protocols can use either UDP or TCP  If UDP, DNS protocol handles retransmission, sequencing, etc.
  • 14. Dynamicity  Database can be updated dynamically  Add/delete/modify of any record  Modification of the master database triggers replication  Only master can be dynamically updated  Creates a single point of failure
  • 15. DNS Components There are 3 components:  Name Space: Specifications for a structured name space and data associated with the names  Resolvers: Client programs that extract information from Name Servers.  Name Servers: Server programs which hold information about the structure and the names.
  • 16. Name Space 16  Flat Name Space In a flat name space, a name is assigned to an address. A name in this space is a sequence of characters without structure.  Hierarchical Name Space In a hierarchical name space, each name is made of several parts. The first part can define the organization, the second part can define the name, the third part can define departments, and so on.
  • 17. Resolvers 17 A Resolver maps a name to an address and vice versa. Query Response Resolver Name Server
  • 18. Iterative Resolution 18 iterative response (referral) “I don't know. Try a3.nstld.com.” 2 a3.nstl d.com 3 client iterative request “What is the IP address of www.google.com?” udel server 1 iterative response (referral) “I don't know. Try a.root-servers.net.” 4 a.root server 5 iterative response (referral) “I don't know. Try a.gtld-servers.net.” 6 a.gtld- server 7 iterative response (referral) “I don't know. Try ns1.google.com.” 8 ns1.goo gle.com 9 iterative response “The IP address of www.google.com is 216.239.37.99.”10
  • 19. Recursive Resolution 19 client recursive request “What is the IP address of www.google.com?” udel serve r 1 edu server 2 root server 3 com server 4 google server 5 recursive response “The IP address of www.google.com is 216.239.37.99.” 6 10 7 8 9
  • 20. 20 Master serverZone transfer Zone data file From disk Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Name Server Architecture:
  • 21. 21 Resolver Query Response Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Authoritative Data: Name Server (cont’d)
  • 22. 22 Arbitrary name server Response Resolver Query Query Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Response Using Other Name Servers: Name Server (cont’d)
  • 23. Cached Data : 23 Query Response Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Resolver Name Server (cont’d)