SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente (20)

Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dhcp
DhcpDhcp
Dhcp
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Dns 2
Dns 2Dns 2
Dns 2
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Dns
DnsDns
Dns
 
DHCP
DHCPDHCP
DHCP
 
Dns server
Dns serverDns server
Dns server
 
Dns
DnsDns
Dns
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
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
Domain Name SystemDomain Name System
Domain Name System
 
DNS Record
DNS RecordDNS Record
DNS Record
 

Destacado

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
 

Destacado (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
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
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
 

Similar a 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
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Dns
DnsDns
Dns
 

Más de 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
 

Más de 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
 

Último

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Último (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

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

Notas del editor

  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)