SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Presented By:
   Diwaker pant
ME (ECE) Regular
   DNS- Definition
   Name Space
    ◦ Flat Name Space
    ◦ Hierarchical Name Space
   Domain Name Space
    ◦ FULLY QUALIFIED DOMAIN NAME(FQDN)
    ◦ PARTIALLY QUALIFIED DOMAIN NAME(PQDN)
   Distribution of Name Space
    ◦ Hierarchy of Name servers
    ◦ Zone and Domains
    ◦ Root, Primary and Secondary Servers
   DNS in Internet
    ◦ Generic , Country and Inverse Domain
   Resolution
   DNS messages



                             DNS   By Diwaker Pant   October 9, 2012   2
   To identify an entity, TCP/IP uses IP addresses which
    uniquely identifies connection of host to internet.

   We prefer to use names instead of numeric addresses .

   So we need a system that can map a name to a numeric
    address and vice versa. This is called DOMAIN NAME
    SYSTEM



                                   DNS   By Diwaker Pant   October 9, 2012   3
   When internet was small, mapping was done using
    HOST FILE which was stored on every host.

   Host file had only two columns: name and address.

   But now a days whole information is divided into
    smaller parts and each part is stored in different
    computer. This is called DNS.




                                 DNS   By Diwaker Pant   October 9, 2012   4
   The process of mapping a unique name with the unique
    IP address.

   FLAT NAME SPACE –

    A name is assigned to an address and name is a
    sequence of characters without structure.

   It can not be used in large system such as Internet.




                                     DNS   By Diwaker Pant   October 9, 2012   5
   HIERARCHICAL NAME SPACE-
    Each name is made of several parts.
   The first part can define the nature of organization.
   Second part can define the name and third can define
    the departments in organization.

   For example
o   Smart.pu.edu
o   Smart.nitttr.edu
o   smart.unix.com

                                 DNS   By Diwaker Pant   October 9, 2012   6
   To have a hierarchical name space, a DOMAIN NAME
    SPACE was designed.

   In this design the names are defined in an inverted tree
    structure with the root at top.

   The tree can have only 128 levels i.e. level 0(root) to
    level 127.

   Tree consists of nodes and each node has a LABEL.


                                   DNS   By Diwaker Pant   October 9, 2012   7
 Label is a string with a max. of 63 characters.
 The root label is a null string.
 Siblings have different labels to maintain uniqueness.

                                    DNS   By Diwaker Pant   October 9, 2012   8
   Each node in the tree has a domain name.

   Full domain name is sequence of labels separated by
    dots(.)

   Domain name is read from node up to root.

   Always ends in a null label i.e. last character is a dot.



                                   DNS   By Diwaker Pant   October 9, 2012   9
DNS   By Diwaker Pant   October 9, 2012   10
    FULLY QUALIFIED DOMAIN NAME(FQDN)
     It contains the full name of host.
     A label is terminated by a null string.

     PARTIALLY QUALIFIED DOMAIN NAME(PQDN)
     It starts from a node but doesn’t reaches root.
     A label is not terminated by null string.




October 9, 2012              DNS   By Diwaker Pant      11
 Domain    is a sub
       tree of domain
       name space.

    Each    domain can
       be divided into
       sub domains.


October 9, 2012           DNS   By Diwaker Pant   12
DNS   By Diwaker Pant   October 9, 2012   13
    Region over which server
      has the responsibility and
      authority.

     Zone is a part of entire
      tree.

     Server can divide domain
      into smaller domains.



October 9, 2012                    DNS   By Diwaker Pant   14
   ROOT SERVER-It is a server whose zone consist of
    whole tree. These servers are distributed all around the
    world.

   PRIMARY SERVER- A primary server loads all
    information from the local disk file.

   SECONDARY SERVER- It transfer the complete
    information from the primary server and it is called
    Zone transfer.

                                   DNS   By Diwaker Pant   October 9, 2012   15
 DNS is a protocol can be used in different platforms.

 In the internet, DNS tree is divided into three different sections




                                     DNS   By Diwaker Pant   October 9, 2012   16
   It contains registered hosts according to generic behaviors.




October 9, 2012                  DNS   By Diwaker Pant             17
Label                                  Description

          com     Commercial organizations

          edu     Educational institutions

          gov     Government institutions

           int    International organizations

           mil    Military groups

           net    Network support centers

          org     Nonprofit organizations



October 9, 2012                          DNS    By Diwaker Pant   18
Label                                Description

 aero             Airlines and aerospace companies

  biz             Businesses or firms (similar to com)

 coop             Cooperative business organizations

 info             Information service providers

museum            Museums and other nonprofit organizations

 name             Personal names (individuals)

 pro              Professional individual organizations




October 9, 2012                                    DNS    By Diwaker Pant   19
Two characters country abbreviations.




                     DNS   By Diwaker Pant   October 9, 2012   20
    Use to map an address to a
      name.

     When a server received a
      request from a client to do a
      task.

     Inverse or    pointer   (PTR)
      query.

     121.45.34.132.in-addr.arpa


October 9, 2012                DNS   By Diwaker Pant   21
   Mapping a name to an address or an address to a name is
    called name –address resolution.

   RESOLVER-It access the closest DNS server with a
    mapping request. If the server has the information, it
    satisfies the resolver ; otherwise refers the resolver to
    other servers or asks the other servers to provide the
    information.

   MAPPING NAMES TO ADDRESSES-
      Resolver gives domain name to the server and ask for
    address. It uses country and generic domain to find the
    mapping.


                                  DNS   By Diwaker Pant   October 9, 2012   22
   MAPPING ADDRESS TO NAMES.

   Resolver sends IP address to the server to be mapped
    to domain name.

   This is called PTR or Inverse query.

   Server uses inverse domain.

IP address -121.45.34.132
Domain name-132.34.45.121.in-addr.arpa.


                                  DNS   By Diwaker Pant   October 9, 2012   23
RECURSIVE RESOLUTION




October 9, 2012     DNS   By Diwaker Pant   24
   ITERATIVE RESOLUTION




                           DNS   By Diwaker Pant   October 9, 2012   25
   CACHING

   When a server asks for mapping from another server and
    receive the response, it stores the information an its cache
    memory before sending it to the clients.

   If the same or other client ask for the same mapping, it can
    check its cache memory and resolve the problem.

   But this type of       response is always marked as
    unauthoritative.


                                     DNS   By Diwaker Pant   October 9, 2012   26
 Query and response




                       DNS   By Diwaker Pant   October 9, 2012   27
DNS   By Diwaker Pant   October 9, 2012   28
   In DNS , when there is a change , such as adding a new
    host, removing a host or changing an IP address,
    change must be made to the DNS master file.

   Manual updating is not possible due to size of Internet.

   It is use to update DNS master file automatically.

   Information in both primary and secondary servers is
    changed.


                                   DNS   By Diwaker Pant   October 9, 2012   29
   DNS can use either UDP or TCP.

   PORT NO. 53 is used by servers.

   If size of response message is more than 512 bytes,
    TCP connection is used, otherwise UDP is used.

   How are the new domains added to the server.




                                DNS   By Diwaker Pant   October 9, 2012   30
   This is done through a registrar, a commercial entity
    accredited by ICANN (Internet corporation for
    assigned name and numbers).

   Name is added to the DNS database after verification
    by Registrar for uniqueness of the name.

   A fee is charged.



                                 DNS   By Diwaker Pant   October 9, 2012   31
 The domain name system is a client /server application
  that identifies each host on the internet with a unique
  friendly name.
 Its structure is an inverted hierarchical tree structure.
 Each node in the tree has a domain name.
 Generic domain , Country domain, Inverse domain.
 DDNS automatically updates the DNS master.
 DNS use the service UDP for message of less than 512

  bytes .otherwise, TCP is used.



                                 DNS   By Diwaker Pant   October 9, 2012   32
   Behrouz A. Forouzan - Data Communication and
    Networking (3rd ,4th edition)

   Andrew S. Tanenbaum - Computer Networks (4th
    edition)




                                DNS   By Diwaker Pant   October 9, 2012   33
DNS   By Diwaker Pant   October 9, 2012   34
The client (resolver) can ask for the answer from a name server,
generally closet DN server.

If the server is the authority for the domain name it will responds
back with the full answer after checking its database, but if the closet
server is not the authority then it will pass query to next closet server
generally parent.

Then this server will again check its database and responds back with
answer if it is authority, otherwise it will pass the query to next
server…

This process will repeats until the authoritative server gives final
answer.

When the query is finally resolved. The response travels back to
requesting client.
                                        DNS   By Diwaker Pant   October 9, 2012   35
If the clients does not ask for the recursive answer, the mapping can
be done iteratively.

If the server is an authority for the name, it sends the answer.

If it is not then it returns (to the clients) the IP add of the server that it
thinks can resolve the problem.

The client is responsible for repeating the query to new server.

If this new server can resolve the query then it will responds back
with the Final IP address as an answer otherwise it returns the IP
address of the new server.

This process is called Iterative because The client repeats the query to
multiple servers.
                                           DNS   By Diwaker Pant   October 9, 2012   36

Weitere ähnliche Inhalte

Was ist angesagt? (20)

DNS Record
DNS RecordDNS Record
DNS Record
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Dns
DnsDns
Dns
 
Domain name server
Domain name serverDomain name server
Domain name server
 
Dns
DnsDns
Dns
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
Dhcp
DhcpDhcp
Dhcp
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Dns server
Dns serverDns server
Dns server
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
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 System
Domain Name SystemDomain Name System
Domain Name System
 
Network address translation
Network address translationNetwork address translation
Network address translation
 
Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
 
Dns 2
Dns 2Dns 2
Dns 2
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 

Andere mochten auch

Listen and accept function
Listen and accept functionListen and accept function
Listen and accept functionJithin Parakka
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentationAnchit Dhingra
 
The World Wide Web Power Point
The World Wide Web Power PointThe World Wide Web Power Point
The World Wide Web Power Pointkaramfilova
 
Internet and World Wide Web
Internet and World Wide WebInternet and World Wide Web
Internet and World Wide WebSamudin Kassan
 
Chapter 26
Chapter 26Chapter 26
Chapter 26ezasso
 
Presentation on World Wide Web (WWW)
Presentation on World Wide Web (WWW)Presentation on World Wide Web (WWW)
Presentation on World Wide Web (WWW)Mohak Jain
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocolguest029bcd
 

Andere mochten auch (10)

world wide web
world wide webworld wide web
world wide web
 
Listen and accept function
Listen and accept functionListen and accept function
Listen and accept function
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
The World Wide Web Power Point
The World Wide Web Power PointThe World Wide Web Power Point
The World Wide Web Power Point
 
Internet and World Wide Web
Internet and World Wide WebInternet and World Wide Web
Internet and World Wide Web
 
Chapter 26
Chapter 26Chapter 26
Chapter 26
 
Presentation on World Wide Web (WWW)
Presentation on World Wide Web (WWW)Presentation on World Wide Web (WWW)
Presentation on World Wide Web (WWW)
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 

Ähnlich wie Domain name system

Ähnlich wie Domain name system (20)

Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
Domain name system
Domain name systemDomain name system
Domain name system
 
What is dns
What is dnsWhat is dns
What is dns
 
Dns
DnsDns
Dns
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptxc5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
dnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdfdnsppt-130413003933-phpapp02.pdf
dnsppt-130413003933-phpapp02.pdf
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
DNS.pptx
DNS.pptxDNS.pptx
DNS.pptx
 
Dns
DnsDns
Dns
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
Domain naming system
Domain naming systemDomain naming system
Domain naming system
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Dns
DnsDns
Dns
 
Network and System Administration chapter 2
Network and System Administration chapter 2Network and System Administration chapter 2
Network and System Administration chapter 2
 

Mehr von Diwaker Pant

satellite Communication
 satellite Communication satellite Communication
satellite CommunicationDiwaker Pant
 
Microprocessor Fundamentals
Microprocessor FundamentalsMicroprocessor Fundamentals
Microprocessor FundamentalsDiwaker Pant
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontrollerDiwaker Pant
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiwaker Pant
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor LogicDiwaker Pant
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontrollerDiwaker Pant
 
Bartlett's method pp ts
Bartlett's method pp tsBartlett's method pp ts
Bartlett's method pp tsDiwaker Pant
 
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASERDrive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASERDiwaker Pant
 

Mehr von Diwaker Pant (10)

satellite Communication
 satellite Communication satellite Communication
satellite Communication
 
Microprocessor Fundamentals
Microprocessor FundamentalsMicroprocessor Fundamentals
Microprocessor Fundamentals
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontroller
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communications
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Electronic mail
Electronic mailElectronic mail
Electronic mail
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontroller
 
Bartlett's method pp ts
Bartlett's method pp tsBartlett's method pp ts
Bartlett's method pp ts
 
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASERDrive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASER
 

Kürzlich hochgeladen

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Kürzlich hochgeladen (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Domain name system

  • 1. Presented By: Diwaker pant ME (ECE) Regular
  • 2. DNS- Definition  Name Space ◦ Flat Name Space ◦ Hierarchical Name Space  Domain Name Space ◦ FULLY QUALIFIED DOMAIN NAME(FQDN) ◦ PARTIALLY QUALIFIED DOMAIN NAME(PQDN)  Distribution of Name Space ◦ Hierarchy of Name servers ◦ Zone and Domains ◦ Root, Primary and Secondary Servers  DNS in Internet ◦ Generic , Country and Inverse Domain  Resolution  DNS messages DNS By Diwaker Pant October 9, 2012 2
  • 3. To identify an entity, TCP/IP uses IP addresses which uniquely identifies connection of host to internet.  We prefer to use names instead of numeric addresses .  So we need a system that can map a name to a numeric address and vice versa. This is called DOMAIN NAME SYSTEM DNS By Diwaker Pant October 9, 2012 3
  • 4. When internet was small, mapping was done using HOST FILE which was stored on every host.  Host file had only two columns: name and address.  But now a days whole information is divided into smaller parts and each part is stored in different computer. This is called DNS. DNS By Diwaker Pant October 9, 2012 4
  • 5. The process of mapping a unique name with the unique IP address.  FLAT NAME SPACE –  A name is assigned to an address and name is a sequence of characters without structure.  It can not be used in large system such as Internet. DNS By Diwaker Pant October 9, 2012 5
  • 6. HIERARCHICAL NAME SPACE-  Each name is made of several parts.  The first part can define the nature of organization.  Second part can define the name and third can define the departments in organization.  For example o Smart.pu.edu o Smart.nitttr.edu o smart.unix.com DNS By Diwaker Pant October 9, 2012 6
  • 7. To have a hierarchical name space, a DOMAIN NAME SPACE was designed.  In this design the names are defined in an inverted tree structure with the root at top.  The tree can have only 128 levels i.e. level 0(root) to level 127.  Tree consists of nodes and each node has a LABEL. DNS By Diwaker Pant October 9, 2012 7
  • 8.  Label is a string with a max. of 63 characters.  The root label is a null string.  Siblings have different labels to maintain uniqueness. DNS By Diwaker Pant October 9, 2012 8
  • 9. Each node in the tree has a domain name.  Full domain name is sequence of labels separated by dots(.)  Domain name is read from node up to root.  Always ends in a null label i.e. last character is a dot. DNS By Diwaker Pant October 9, 2012 9
  • 10. DNS By Diwaker Pant October 9, 2012 10
  • 11. FULLY QUALIFIED DOMAIN NAME(FQDN)  It contains the full name of host.  A label is terminated by a null string.  PARTIALLY QUALIFIED DOMAIN NAME(PQDN)  It starts from a node but doesn’t reaches root.  A label is not terminated by null string. October 9, 2012 DNS By Diwaker Pant 11
  • 12.  Domain is a sub tree of domain name space.  Each domain can be divided into sub domains. October 9, 2012 DNS By Diwaker Pant 12
  • 13. DNS By Diwaker Pant October 9, 2012 13
  • 14. Region over which server has the responsibility and authority.  Zone is a part of entire tree.  Server can divide domain into smaller domains. October 9, 2012 DNS By Diwaker Pant 14
  • 15. ROOT SERVER-It is a server whose zone consist of whole tree. These servers are distributed all around the world.  PRIMARY SERVER- A primary server loads all information from the local disk file.  SECONDARY SERVER- It transfer the complete information from the primary server and it is called Zone transfer. DNS By Diwaker Pant October 9, 2012 15
  • 16.  DNS is a protocol can be used in different platforms.  In the internet, DNS tree is divided into three different sections DNS By Diwaker Pant October 9, 2012 16
  • 17. It contains registered hosts according to generic behaviors. October 9, 2012 DNS By Diwaker Pant 17
  • 18. Label Description com Commercial organizations edu Educational institutions gov Government institutions int International organizations mil Military groups net Network support centers org Nonprofit organizations October 9, 2012 DNS By Diwaker Pant 18
  • 19. Label Description aero Airlines and aerospace companies biz Businesses or firms (similar to com) coop Cooperative business organizations info Information service providers museum Museums and other nonprofit organizations name Personal names (individuals) pro Professional individual organizations October 9, 2012 DNS By Diwaker Pant 19
  • 20. Two characters country abbreviations. DNS By Diwaker Pant October 9, 2012 20
  • 21. Use to map an address to a name.  When a server received a request from a client to do a task.  Inverse or pointer (PTR) query.  121.45.34.132.in-addr.arpa October 9, 2012 DNS By Diwaker Pant 21
  • 22. Mapping a name to an address or an address to a name is called name –address resolution.  RESOLVER-It access the closest DNS server with a mapping request. If the server has the information, it satisfies the resolver ; otherwise refers the resolver to other servers or asks the other servers to provide the information.  MAPPING NAMES TO ADDRESSES- Resolver gives domain name to the server and ask for address. It uses country and generic domain to find the mapping. DNS By Diwaker Pant October 9, 2012 22
  • 23. MAPPING ADDRESS TO NAMES.  Resolver sends IP address to the server to be mapped to domain name.  This is called PTR or Inverse query.  Server uses inverse domain. IP address -121.45.34.132 Domain name-132.34.45.121.in-addr.arpa. DNS By Diwaker Pant October 9, 2012 23
  • 24. RECURSIVE RESOLUTION October 9, 2012 DNS By Diwaker Pant 24
  • 25. ITERATIVE RESOLUTION DNS By Diwaker Pant October 9, 2012 25
  • 26. CACHING  When a server asks for mapping from another server and receive the response, it stores the information an its cache memory before sending it to the clients.  If the same or other client ask for the same mapping, it can check its cache memory and resolve the problem.  But this type of response is always marked as unauthoritative. DNS By Diwaker Pant October 9, 2012 26
  • 27.  Query and response DNS By Diwaker Pant October 9, 2012 27
  • 28. DNS By Diwaker Pant October 9, 2012 28
  • 29. In DNS , when there is a change , such as adding a new host, removing a host or changing an IP address, change must be made to the DNS master file.  Manual updating is not possible due to size of Internet.  It is use to update DNS master file automatically.  Information in both primary and secondary servers is changed. DNS By Diwaker Pant October 9, 2012 29
  • 30. DNS can use either UDP or TCP.  PORT NO. 53 is used by servers.  If size of response message is more than 512 bytes, TCP connection is used, otherwise UDP is used.  How are the new domains added to the server. DNS By Diwaker Pant October 9, 2012 30
  • 31. This is done through a registrar, a commercial entity accredited by ICANN (Internet corporation for assigned name and numbers).  Name is added to the DNS database after verification by Registrar for uniqueness of the name.  A fee is charged. DNS By Diwaker Pant October 9, 2012 31
  • 32.  The domain name system is a client /server application that identifies each host on the internet with a unique friendly name.  Its structure is an inverted hierarchical tree structure.  Each node in the tree has a domain name.  Generic domain , Country domain, Inverse domain.  DDNS automatically updates the DNS master.  DNS use the service UDP for message of less than 512 bytes .otherwise, TCP is used. DNS By Diwaker Pant October 9, 2012 32
  • 33. Behrouz A. Forouzan - Data Communication and Networking (3rd ,4th edition)  Andrew S. Tanenbaum - Computer Networks (4th edition) DNS By Diwaker Pant October 9, 2012 33
  • 34. DNS By Diwaker Pant October 9, 2012 34
  • 35. The client (resolver) can ask for the answer from a name server, generally closet DN server. If the server is the authority for the domain name it will responds back with the full answer after checking its database, but if the closet server is not the authority then it will pass query to next closet server generally parent. Then this server will again check its database and responds back with answer if it is authority, otherwise it will pass the query to next server… This process will repeats until the authoritative server gives final answer. When the query is finally resolved. The response travels back to requesting client. DNS By Diwaker Pant October 9, 2012 35
  • 36. If the clients does not ask for the recursive answer, the mapping can be done iteratively. If the server is an authority for the name, it sends the answer. If it is not then it returns (to the clients) the IP add of the server that it thinks can resolve the problem. The client is responsible for repeating the query to new server. If this new server can resolve the query then it will responds back with the Final IP address as an answer otherwise it returns the IP address of the new server. This process is called Iterative because The client repeats the query to multiple servers. DNS By Diwaker Pant October 9, 2012 36

Hinweis der Redaktion

  1. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  2. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  3. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  4. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  5. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  6. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  7. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  8. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  9. Behrouz A. Forouzan - Data Communication and Networking (3 rd edition)
  10. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  11. Behrouz A. Forouzan - Data Communication and Networking (4th edition)
  12. Behrouz A. Forouzan - Data Communication and Networking (3 rd edition)
  13. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  14. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  15. Behrouz A. Forouzan - Data Communication and Networking (4 rd edition)
  16. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  17. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  18. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  19. Behrouz A. Forouzan - Data Communication and Networking (4 th edition) The client (resolver) can ask for the answer from a name server, generally closet DN server. If the server is the authority for the domain name it will responds back with the full answer after checking its database, but if the closet server is not the authority then it will pass query to next closet server generally parent. Then this server will again check its database and responds back with answer if it is authority, otherwise it will pass the query to next server… This process will repeats until the authoritative server gives final answer. When the query is finally resolved. The response travels back to requesting client.
  20. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  21. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  22. Behrouz A. Forouzan - Data Communication and Networking (4 th edition)
  23. Behrouz A. Forouzan - Data Communication and Networking (3 rd edition)
  24. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)
  25. Behrouz A. Forouzan - Data Communication and Networking (3 rd ,4 th edition)