SlideShare a Scribd company logo
1 of 25
Domain Name
System
By : Shubham Srivastava
Agenda
 What is DNS
 Why DNS
 DNS Overview
 Resource Records
 Types of Name Servers
 Authoritative Name Servers
 DNS Resolution
 DNS Zone
 Zone transfer
What is DNS ?
Domain Name Servers (DNS) are the
Internet's equivalent of a phone book.
The mechanism by which Internet software
translates names to attributes such as
addresses
Why DNS ?
 ARPANET utilized a central file HOSTS
 Contains names to IP addresses mapping
 As the system grew
 Speed ???
 Scalability (traffic and load) ???
 Management ???
From history of Name Servers we saw how
three needs emerged:
The Internet Domain Name System elegantly solves
all these problems at the single stroke of a pen (well
actually the whole of RFC 1034 to be precise).
The need for a
hierarchy of
names
Spread
operational
load
Delegate the
administration
of our Name
servers
DNS Overview
 Translates human friendly hostname to IP addresses.
 Uses a tree name structure.
 The essence of DNS is invention of a hierarchical, domain-
based naming scheme and a distributed database system for
implementing this naming scheme.
The DNS is also…
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
DNS Name Space
root
com in aunetedu
Microsoft applegoogleyahoo
Top Level
Domain
2nd Level
Domain
store
3rd Level
Domain
Generic
ICANN
Country
Specific
Lecture 13: 02-22-2005
9
DNS Records
RR format: (Name, TTL, Class, Type,Value)
• DB contains tuples called resource records (RRs)
• Classes = Internet (IN)
• Each class defines value associated with type
FOR IN class:
• Type=CNAME
• name is an alias name for some
“canonical” (the real) name
• value is canonical name
• Type=MX
• value is hostname of mailserver
associated with name
• Type=A (AAAA for IPv6)
• name is hostname
• value is IPv4 address
• Type=NS
• name is domain (e.g. foo.com)
• value is name of authoritative
name server for this domain
SOA Record
 SOA – Start of Authority
example.com. 14400 IN SOA ns1.ethii.com. admin.example.com.
2004123001 ; Serial number
86000 ; Refresh rate in seconds
7200 ; Refresh Retry in seconds
3600000 ; Expiry in seconds
600 ; Minimum in seconds (for example: how long a resolver should
consider a negative result for a subdomain to be valid before retrying)
DNS Resource Records
Types of Name Servers
Authoritative name server – for a host stores that host’s IP address
Primary name server - Each Zone will have a primary name server and more
secondary name servers
Secondary name server – Secondary servers retrieve information from
primary servers.
Caching name server - ISPs
DNS Resolution
 Translation of domain names into IP addresses.
Resolution type
 Recursive Query
 Iterative Query
Types of resolver/DNS Client :
 Full resolver
 Stub resolver
Recursive DNS Query
 Goes deep down the hierarchy to resolve
 Puts the burden of resolution on the contacted name server
15
Iterative DNS query
 Contact server replies with the name of the next authority in the
hierarchy
 “I don’t know this name, but this other server might”
16
Root
Full Resolver – DNS Client
DNS Client is called a resolver.
Full resolver is a program distinct from the user program, which forwards
all queries to name server for processing.
User Program Name ServerFull Resolver
Database
Cache
Cache
Q Q
R R
Stub Resolver – DNS Client
Stub resolver is a routine linked with the user program which forwards
queries to DNS sever.
User Program
Name
Server
Stub
Resolver
Foreign
Name
Server
Database
Cache
Q
Q
R
R
DNS Zone
root
com in au
eduorg
oxford
Apple
yale
store
engg
Zones
For each DNS domain name included in a zone, the zone becomes
the authoritative source for information about that domain.
DNS Zone File
Zone file will contain the
entire details for that
domain
Zone Transfers
 One of the many mechanisms available for administrators to replicate
DNS databases across a set of DNS servers.
 Zone transfer comes in two flavors, full (AXFR - RFC 1034, RFC 5936)
and incremental (IXFR - RFC 1995).
 Uses TCP for transfer zone files.
 client requesting a zone transfer may be a slave server/secondary
server, requesting data from a master server/primary server.
 Zone transfer is entirely client-initiated.
Summary
Thanks
Questions?

More Related Content

What's hot (20)

Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Dns
DnsDns
Dns
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Domain name server
Domain name serverDomain name server
Domain name server
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
DNS server configuration
DNS server configurationDNS server configuration
DNS server configuration
 
Dns 2
Dns 2Dns 2
Dns 2
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
Dns
DnsDns
Dns
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 

Viewers also liked

What is active directory
What is active directoryWhat is active directory
What is active directoryAdeel Khurram
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directoryanilinvns
 
Active directory
Active directory Active directory
Active directory deshvikas
 

Viewers also liked (6)

What is active directory
What is active directoryWhat is active directory
What is active directory
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Active directory
Active directory Active directory
Active directory
 
Active Directory
Active Directory Active Directory
Active Directory
 
Active Directory Training
Active Directory TrainingActive Directory Training
Active Directory Training
 

Similar to DNS Presentation (20)

D.N.S
D.N.SD.N.S
D.N.S
 
CSE dns ppt.pptx
CSE dns ppt.pptxCSE dns ppt.pptx
CSE dns ppt.pptx
 
Domain Name System ppt
Domain Name System pptDomain Name System ppt
Domain Name System ppt
 
Domainnamesystem
DomainnamesystemDomainnamesystem
Domainnamesystem
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
Secure shell (ssh)
Secure shell (ssh)Secure shell (ssh)
Secure shell (ssh)
 
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
 
Introduction
IntroductionIntroduction
Introduction
 
What is dns
What is dnsWhat is dns
What is dns
 
Dns2
Dns2Dns2
Dns2
 
Wintel
WintelWintel
Wintel
 
DNS
DNS DNS
DNS
 
Domain Name System Explained
Domain Name System Explained Domain Name System Explained
Domain Name System Explained
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
Dns And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
Chapter 4 configuring and managing the dns server role
Chapter 4   configuring and managing the dns server roleChapter 4   configuring and managing the dns server role
Chapter 4 configuring and managing the dns server role
 
Dns
DnsDns
Dns
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Dns
DnsDns
Dns
 

DNS Presentation

  • 1. Domain Name System By : Shubham Srivastava
  • 2. Agenda  What is DNS  Why DNS  DNS Overview  Resource Records  Types of Name Servers  Authoritative Name Servers  DNS Resolution  DNS Zone  Zone transfer
  • 3. What is DNS ? Domain Name Servers (DNS) are the Internet's equivalent of a phone book. The mechanism by which Internet software translates names to attributes such as addresses
  • 4. Why DNS ?  ARPANET utilized a central file HOSTS  Contains names to IP addresses mapping  As the system grew  Speed ???  Scalability (traffic and load) ???  Management ???
  • 5. From history of Name Servers we saw how three needs emerged: The Internet Domain Name System elegantly solves all these problems at the single stroke of a pen (well actually the whole of RFC 1034 to be precise). The need for a hierarchy of names Spread operational load Delegate the administration of our Name servers
  • 6. DNS Overview  Translates human friendly hostname to IP addresses.  Uses a tree name structure.  The essence of DNS is invention of a hierarchical, domain- based naming scheme and a distributed database system for implementing this naming scheme.
  • 7. The DNS is also… 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. DNS Name Space root com in aunetedu Microsoft applegoogleyahoo Top Level Domain 2nd Level Domain store 3rd Level Domain Generic ICANN Country Specific
  • 9. Lecture 13: 02-22-2005 9 DNS Records RR format: (Name, TTL, Class, Type,Value) • DB contains tuples called resource records (RRs) • Classes = Internet (IN) • Each class defines value associated with type FOR IN class: • Type=CNAME • name is an alias name for some “canonical” (the real) name • value is canonical name • Type=MX • value is hostname of mailserver associated with name • Type=A (AAAA for IPv6) • name is hostname • value is IPv4 address • Type=NS • name is domain (e.g. foo.com) • value is name of authoritative name server for this domain
  • 10. SOA Record  SOA – Start of Authority example.com. 14400 IN SOA ns1.ethii.com. admin.example.com. 2004123001 ; Serial number 86000 ; Refresh rate in seconds 7200 ; Refresh Retry in seconds 3600000 ; Expiry in seconds 600 ; Minimum in seconds (for example: how long a resolver should consider a negative result for a subdomain to be valid before retrying)
  • 12. Types of Name Servers Authoritative name server – for a host stores that host’s IP address Primary name server - Each Zone will have a primary name server and more secondary name servers Secondary name server – Secondary servers retrieve information from primary servers. Caching name server - ISPs
  • 13. DNS Resolution  Translation of domain names into IP addresses. Resolution type  Recursive Query  Iterative Query Types of resolver/DNS Client :  Full resolver  Stub resolver
  • 14.
  • 15. Recursive DNS Query  Goes deep down the hierarchy to resolve  Puts the burden of resolution on the contacted name server 15
  • 16. Iterative DNS query  Contact server replies with the name of the next authority in the hierarchy  “I don’t know this name, but this other server might” 16 Root
  • 17. Full Resolver – DNS Client DNS Client is called a resolver. Full resolver is a program distinct from the user program, which forwards all queries to name server for processing. User Program Name ServerFull Resolver Database Cache Cache Q Q R R
  • 18. Stub Resolver – DNS Client Stub resolver is a routine linked with the user program which forwards queries to DNS sever. User Program Name Server Stub Resolver Foreign Name Server Database Cache Q Q R R
  • 19. DNS Zone root com in au eduorg oxford Apple yale store engg Zones For each DNS domain name included in a zone, the zone becomes the authoritative source for information about that domain.
  • 20. DNS Zone File Zone file will contain the entire details for that domain
  • 21.
  • 22. Zone Transfers  One of the many mechanisms available for administrators to replicate DNS databases across a set of DNS servers.  Zone transfer comes in two flavors, full (AXFR - RFC 1034, RFC 5936) and incremental (IXFR - RFC 1995).  Uses TCP for transfer zone files.  client requesting a zone transfer may be a slave server/secondary server, requesting data from a master server/primary server.  Zone transfer is entirely client-initiated.