SlideShare una empresa de Scribd logo
1 de 43
…… DNS……




           1
 What is DNS ?      Resolving

 Why DNS ?          Message format

 Working of DNS.    ER diagram

 DNS Hierarchy      DNS DB

 Features           Summary…

 Intro to IP




                                       2
 The term DNS stands for “domain name system.”

 DNS created in 1983 by Paul Mockapetris .

 A globally distributed, scalable, reliable, dynamic database

 It translates human-friendly website addresses into computer-friendly IP

  addresses and viceversa.




                                                                             3
 the Internet is based on IP addresses, not domain names.


 IP Addresses are convinient for computers
    (IP address includes information used for routing.)


 IP addresses are tough for humans to remember.


 IP addresses are impossible to guess.


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


                                                                        4
 A domain is an arrangement of client and server computers that act together

  as one system.

 A domain name is key to doing just about anything on the Internet, from

  setting up a web site to sending and receiving email to building an online
  store.

 A domain name is the sequence of labels from a node to the root, separated

  by dots (“.”s), read left to right
    The name space has a maximum depth of 127 levels

    Domain names are limited to 255 characters in length


                                                                                5
Every interface on an internet must have a unique address called IP address.

  These addresses are 32 –bit numbers, normally written as four decimal
  numbers,one for each byte of the address.

   This is called dotted-decimal notation.




                                                                               6
7
 Every machine has a unique identification in network. That will used to

  identify the specific system in the network. That unique identifier is called

 The IP address is basically the address that distinguishes where you want

  tosend information to, and from where the information comes.

 There simply has to be a way to distinguish with which of the millions of

  computers in the world you want to communicate.

 The IP address is represented by the dotted values. Eg 172.16.35.254.




                                                                                  8
 The IP(internet Protocol) is available in two versions,

 There are,

        IPv4(Internet Protocol version 4)

        IPv6(Internet Protocol version 6)

 IPv4 is wisely using internet protocol. Ipv6 is upgraded version of IPv4.




                                                                              9
 The IPv4 addresses are 4 byte(32 bits) in length.

 The IPv4 addresses denoted with the dotted numbers

 The IP address is denoted as “n.n.n.n”. Here „n‟ is a decimal value. The n

  value range is 0 to 255.

 IPv4 is wisely using Internet Protocol.

 The IPv4 have the internet number as well as the host number.

 Eg:

    172.16.35.254


                                                                               10
 IPv6(Internet Protocol version 6) is a upgraded version of the IPv4.

 IPv6 addressing is denoted with the 8 sets of 4 hexadecimal values, 16 bits

  in each sets. Each set is separated with the colon(:).

 IPv6 address is denoted as “xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx” (

  ‟x‟ would be hexadecimal value).

 The hexadecimal values can be represented in the Upper-case or Lower case

  for the number „A-F‟. A leading zero in a set of numbers can be omitted
           ABC:567:0:8888:0:9999:1111:0

           abc:567:8888:0:9999:1111:0

 The IPv6 is not using wisely.



                                                                                11
 The DNS(Domain Name Server) is a directory lookup service that provides

  a mapping between the name of the host on the internet and its numerical
  address.



 Four elements comprise

    Domain Name Space

    DNS database

    Name servers

    Resolvers

                                                                             12
 It is 32 bit address provides uniquely identifying device.


 It has two components
    Network number
    Host address


 Domain refers to a group of hosts that are administrative control.


 Domains are organizes hierarchically, so that the domain has sub routines.




                                                                               13
 DNS is a hierarchical system.

 DNS organizes all registered names in a tree structure.

 At the base or root of the tree are a group of top-level domains including

  familiar names like com, org, and edu.

 Below this level are the second-level registered domains such as about.com

 The tree can have 128 levels: level 0 (root) to level 127.




                                                                               14
15
16
 The DNS database contains a list of registered domain names.

 The top level of the DNS hierarchy, also called the root level

 It is maintained by a set of 13 servers called root name servers.

 Those servers in turn knows all the TLDs which contain the same vital

   information

 They are coordinated by ICANN and are distributed around the world.




                                                                          17
18
ICANN
The Internet Corporation for Assigned

Names and Numbers

The headquarters is in Marina del Rey,

California, United States,

 It was created on September 18, 1998,and

incorporated on September 30, 1998.




                                             19
 To oversee administer Internet resources including

    Addresses

        Delegating blocks of addresses to the regional registries.

    Protocol identifiers

        Allocating port numbers, etc.

    Names

        Administration of the root zone file.

        Oversight of the operation of the root name servers.




                                                                      20
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




                                                          21
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.
                                                                      22
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




                                                             23
RESOLUTION
Mapping a name to an address or an address to a name is called name-
address resolution.




    Types of Resolution:-
     Recursive Resolution
     Iterative Resolution




                                                                24
Recursive resolution




                       25
Iterative resolution




                       26
www.google.com




                 27
 In the example a client somewhere on the Internet needs the IP address of

    www.google.com The following events take place:

         1.The client contacts NameServer1 with a recursive query for
    www.google.com. The server must now return either the answer or an
    error message.

         2.NameServer1 checks its cache and zones for the answer, but does
    not find it, so it contacts a server authoritative for the Internet (that is, a
    root server ) with an iterative query for www.google.com.

         3.The server at the root of the Internet does not know the answer, so
    it responds with a referral to a server authoritative for the .com domain.




                                                                                      28
         4.NameServer1 contacts a server authoritative for the .com domain with an
    iterative query for www.google.com.

         5.The server authoritative for the .com domain does not know the exact
    answer, so it responds with a referral to a server authoritative for the google.com
    domain.

         6.NameServer1 contacts the server authoritative for the google.com
    domain with an iterative query for www.google.com.

         7.The server authoritative for the google.com domain does know the
    answer. It responds with the requested IP address.

         8.NameServer1 responds to the client query with the IP address for
    www.google.com.

                                                                                   29
DNS MESSAGES
         The DNS query message consists of a header and question
records; the DNS response message consists of a header, question records,
answer records, authoritative records, and additional records.




                                                                     30
DNS messages




               31
Query and response messages




                              32
Section Name   Description


               Contains fields that describe the
               type of message and provide
               important information about it.
  Header
               Also contains fields that indicate
               the number of entries in the other
               sections of the message.



               Carries one or more “questions”,
               that is, queries for information
 Question
               being sent to a DNS name
               server.


                                                    33
Section Name   Description
               Carries one or more resource
               records that answer the
  Answer
               question(s) indicated in the
               Question section above.
               Contains one or more resource
               records that point to
 Authority     authoritative name servers that
               can be used to continue the
               resolution process.
               Conveys one or more resource
               records that contain additional
               information related to the
 Additional
               query that is not strictly
               necessary to answer the queries
               (questions) in the message.

                                                 34
 The system which is in network request a web page to it‟s local server.

 The local DNS of that server maintain the details of the local clients

  connected to it.

 From that server the page request forwarded to the DNS of the web content.

  The request or the query for the particular page is in the name of that local
  server.

 The query first processed by the resolver, it and then forward to the SLAVE

  NAME SERVER. If the domain name is found in that it will return the IP
  address to the requested resolver.

                                                                                  35
 If the domain name is not found in the particular slave domain it and then

  forward the detail of the requested resolver and the domain name to the
  higher name server.

 The resolver details should be maintained in each level of name server if

  that regarding to it‟s own zone.

 The several zones are there under one primary name server. The primary

  name server of zones may be slave name server of another primary name
  server.

 Each and every zone has it‟s unique salve name server.



                                                                               36
 The IP address of the requested page can be directly forwarded from the

  current name server level., or the address should be returned through the
  backward direction in the path the request came.

 The details of the requested result stored in slave name server. If the IP

  address in found then the IP address and the domain name stored. Otherwise
  the negative result be stored. This is caching.

 The first thing the slave name server has to do is search the particular

  domain name in it‟s cached detail. If it is not found then it forward the
  request to the higher level NS.



                                                                               37
38
 It is based on hierarchical database containing Resourses Records(RRs) that

  includes IP address and other information about hosts.



 Key features:

    Variable-depth hierarchy for names

    Distributed Database

    Distribution controlled by the database.




                                                                                39
40
 Name Servers:

    These are server programs that hols information about a protion of the

     domain name tree structure and the associated RRs.

 Resolver.

    These are programs that extract information from names servers in

     response to client request is for an IP address corresponding to a given
     domain name.




                                                                                41
 The need of DNS is demonstrated here.

 Without DNS we can not imagine the internet itself.

 The achievement done in the internet and web environment are the branch

  from the DNS invention.




                                                                            42
43

Más contenido relacionado

La actualidad más candente (20)

Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
slide on DNS
slide on DNSslide on DNS
slide on DNS
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Dns
DnsDns
Dns
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Domain name system
Domain name systemDomain name system
Domain name system
 
DNS
DNSDNS
DNS
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dns
DnsDns
Dns
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns server
Dns serverDns server
Dns server
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
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)
 
Domain name system
Domain name systemDomain name system
Domain name system
 

Destacado

Conventional memory
Conventional memoryConventional memory
Conventional memoryTech_MX
 
Department of tourism
Department of tourismDepartment of tourism
Department of tourismTech_MX
 
Inheritance
InheritanceInheritance
InheritanceTech_MX
 
File handling functions
File  handling    functionsFile  handling    functions
File handling functionsTech_MX
 
Application of greedy method
Application  of  greedy methodApplication  of  greedy method
Application of greedy methodTech_MX
 
Java vs .net
Java vs .netJava vs .net
Java vs .netTech_MX
 
Shellcode injection
Shellcode injectionShellcode injection
Shellcode injectionDhaval Kapil
 
Spanning trees & applications
Spanning trees & applicationsSpanning trees & applications
Spanning trees & applicationsTech_MX
 
Demultiplexer
DemultiplexerDemultiplexer
DemultiplexerTech_MX
 
Graph representation
Graph representationGraph representation
Graph representationTech_MX
 
Templates in C++
Templates in C++Templates in C++
Templates in C++Tech_MX
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theoryTech_MX
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Unix memory management
Unix memory managementUnix memory management
Unix memory managementTech_MX
 

Destacado (20)

Conventional memory
Conventional memoryConventional memory
Conventional memory
 
DNS
DNSDNS
DNS
 
Department of tourism
Department of tourismDepartment of tourism
Department of tourism
 
Inheritance
InheritanceInheritance
Inheritance
 
File handling functions
File  handling    functionsFile  handling    functions
File handling functions
 
Application of greedy method
Application  of  greedy methodApplication  of  greedy method
Application of greedy method
 
Dns security
Dns securityDns security
Dns security
 
Java vs .net
Java vs .netJava vs .net
Java vs .net
 
Shellcode injection
Shellcode injectionShellcode injection
Shellcode injection
 
Spanning trees & applications
Spanning trees & applicationsSpanning trees & applications
Spanning trees & applications
 
Snmp
SnmpSnmp
Snmp
 
Demultiplexer
DemultiplexerDemultiplexer
Demultiplexer
 
Graph representation
Graph representationGraph representation
Graph representation
 
SNMP
SNMPSNMP
SNMP
 
Templates in C++
Templates in C++Templates in C++
Templates in C++
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
 
Introduction to SNMP
Introduction to SNMPIntroduction to SNMP
Introduction to SNMP
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Unix memory management
Unix memory managementUnix memory management
Unix memory management
 
Introduction to DNS
Introduction to DNSIntroduction to DNS
Introduction to DNS
 

Similar a Dns 2 (20)

Domain name system
Domain name systemDomain name system
Domain name system
 
Lesson 5: Configuring Name Resolution
Lesson 5: Configuring Name ResolutionLesson 5: Configuring Name Resolution
Lesson 5: Configuring Name Resolution
 
Domainnamesystem
DomainnamesystemDomainnamesystem
Domainnamesystem
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Dns server
Dns serverDns server
Dns server
 
Dn sonly
Dn sonlyDn sonly
Dn sonly
 
CSE dns ppt.pptx
CSE dns ppt.pptxCSE dns ppt.pptx
CSE dns ppt.pptx
 
Dns
DnsDns
Dns
 
Computer Networks - DNS
Computer Networks - DNSComputer Networks - DNS
Computer Networks - DNS
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Domain Name System ppt
Domain Name System pptDomain Name System ppt
Domain Name System ppt
 
2.2.1.4 internet address amrizah
2.2.1.4 internet address amrizah2.2.1.4 internet address amrizah
2.2.1.4 internet address amrizah
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
DNS.pptx
DNS.pptxDNS.pptx
DNS.pptx
 
D.N.S
D.N.SD.N.S
D.N.S
 
Application Layer.pptx
Application Layer.pptxApplication Layer.pptx
Application Layer.pptx
 
Dns and irc
Dns and ircDns and irc
Dns and irc
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 

Más de Tech_MX

Virtual base class
Virtual base classVirtual base class
Virtual base classTech_MX
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimationTech_MX
 
String & its application
String & its applicationString & its application
String & its applicationTech_MX
 
Statistical quality__control_2
Statistical  quality__control_2Statistical  quality__control_2
Statistical quality__control_2Tech_MX
 
Stack data structure
Stack data structureStack data structure
Stack data structureTech_MX
 
Stack Data Structure & It's Application
Stack Data Structure & It's Application Stack Data Structure & It's Application
Stack Data Structure & It's Application Tech_MX
 
Set data structure 2
Set data structure 2Set data structure 2
Set data structure 2Tech_MX
 
Set data structure
Set data structure Set data structure
Set data structure Tech_MX
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 
Mouse interrupts (Assembly Language & C)
Mouse interrupts (Assembly Language & C)Mouse interrupts (Assembly Language & C)
Mouse interrupts (Assembly Language & C)Tech_MX
 
Motherboard of a pc
Motherboard of a pcMotherboard of a pc
Motherboard of a pcTech_MX
 
More on Lex
More on LexMore on Lex
More on LexTech_MX
 
MultiMedia dbms
MultiMedia dbmsMultiMedia dbms
MultiMedia dbmsTech_MX
 
Merging files (Data Structure)
Merging files (Data Structure)Merging files (Data Structure)
Merging files (Data Structure)Tech_MX
 
Memory dbms
Memory dbmsMemory dbms
Memory dbmsTech_MX
 
Linear regression
Linear regressionLinear regression
Linear regressionTech_MX
 

Más de Tech_MX (20)

Virtual base class
Virtual base classVirtual base class
Virtual base class
 
Uid
UidUid
Uid
 
Theory of estimation
Theory of estimationTheory of estimation
Theory of estimation
 
String & its application
String & its applicationString & its application
String & its application
 
Statistical quality__control_2
Statistical  quality__control_2Statistical  quality__control_2
Statistical quality__control_2
 
Stack data structure
Stack data structureStack data structure
Stack data structure
 
Stack Data Structure & It's Application
Stack Data Structure & It's Application Stack Data Structure & It's Application
Stack Data Structure & It's Application
 
Spss
SpssSpss
Spss
 
Set data structure 2
Set data structure 2Set data structure 2
Set data structure 2
 
Set data structure
Set data structure Set data structure
Set data structure
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Parsing
ParsingParsing
Parsing
 
Mouse interrupts (Assembly Language & C)
Mouse interrupts (Assembly Language & C)Mouse interrupts (Assembly Language & C)
Mouse interrupts (Assembly Language & C)
 
Motherboard of a pc
Motherboard of a pcMotherboard of a pc
Motherboard of a pc
 
More on Lex
More on LexMore on Lex
More on Lex
 
MultiMedia dbms
MultiMedia dbmsMultiMedia dbms
MultiMedia dbms
 
Merging files (Data Structure)
Merging files (Data Structure)Merging files (Data Structure)
Merging files (Data Structure)
 
Memory dbms
Memory dbmsMemory dbms
Memory dbms
 
Linkers
LinkersLinkers
Linkers
 
Linear regression
Linear regressionLinear regression
Linear regression
 

Último

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Último (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

Dns 2

  • 2.  What is DNS ?  Resolving  Why DNS ?  Message format  Working of DNS.  ER diagram  DNS Hierarchy  DNS DB  Features  Summary…  Intro to IP 2
  • 3.  The term DNS stands for “domain name system.”  DNS created in 1983 by Paul Mockapetris .  A globally distributed, scalable, reliable, dynamic database  It translates human-friendly website addresses into computer-friendly IP addresses and viceversa. 3
  • 4.  the Internet is based on IP addresses, not domain names.  IP Addresses are convinient for computers (IP address includes information used for routing.)  IP addresses are tough for humans to remember.  IP addresses are impossible to guess.  Domain names comprise a hierarchy so that names are unique, easy to remember. 4
  • 5.  A domain is an arrangement of client and server computers that act together as one system.  A domain name is key to doing just about anything on the Internet, from setting up a web site to sending and receiving email to building an online store.  A domain name is the sequence of labels from a node to the root, separated by dots (“.”s), read left to right  The name space has a maximum depth of 127 levels  Domain names are limited to 255 characters in length 5
  • 6. Every interface on an internet must have a unique address called IP address. These addresses are 32 –bit numbers, normally written as four decimal numbers,one for each byte of the address. This is called dotted-decimal notation. 6
  • 7. 7
  • 8.  Every machine has a unique identification in network. That will used to identify the specific system in the network. That unique identifier is called  The IP address is basically the address that distinguishes where you want tosend information to, and from where the information comes.  There simply has to be a way to distinguish with which of the millions of computers in the world you want to communicate.  The IP address is represented by the dotted values. Eg 172.16.35.254. 8
  • 9.  The IP(internet Protocol) is available in two versions,  There are,  IPv4(Internet Protocol version 4)  IPv6(Internet Protocol version 6)  IPv4 is wisely using internet protocol. Ipv6 is upgraded version of IPv4. 9
  • 10.  The IPv4 addresses are 4 byte(32 bits) in length.  The IPv4 addresses denoted with the dotted numbers  The IP address is denoted as “n.n.n.n”. Here „n‟ is a decimal value. The n value range is 0 to 255.  IPv4 is wisely using Internet Protocol.  The IPv4 have the internet number as well as the host number.  Eg:  172.16.35.254 10
  • 11.  IPv6(Internet Protocol version 6) is a upgraded version of the IPv4.  IPv6 addressing is denoted with the 8 sets of 4 hexadecimal values, 16 bits in each sets. Each set is separated with the colon(:).  IPv6 address is denoted as “xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx” ( ‟x‟ would be hexadecimal value).  The hexadecimal values can be represented in the Upper-case or Lower case for the number „A-F‟. A leading zero in a set of numbers can be omitted  ABC:567:0:8888:0:9999:1111:0  abc:567:8888:0:9999:1111:0  The IPv6 is not using wisely. 11
  • 12.  The DNS(Domain Name Server) is a directory lookup service that provides a mapping between the name of the host on the internet and its numerical address.  Four elements comprise  Domain Name Space  DNS database  Name servers  Resolvers 12
  • 13.  It is 32 bit address provides uniquely identifying device.  It has two components  Network number  Host address  Domain refers to a group of hosts that are administrative control.  Domains are organizes hierarchically, so that the domain has sub routines. 13
  • 14.  DNS is a hierarchical system.  DNS organizes all registered names in a tree structure.  At the base or root of the tree are a group of top-level domains including familiar names like com, org, and edu.  Below this level are the second-level registered domains such as about.com  The tree can have 128 levels: level 0 (root) to level 127. 14
  • 15. 15
  • 16. 16
  • 17.  The DNS database contains a list of registered domain names.  The top level of the DNS hierarchy, also called the root level  It is maintained by a set of 13 servers called root name servers.  Those servers in turn knows all the TLDs which contain the same vital information  They are coordinated by ICANN and are distributed around the world. 17
  • 18. 18
  • 19. ICANN The Internet Corporation for Assigned Names and Numbers The headquarters is in Marina del Rey, California, United States,  It was created on September 18, 1998,and incorporated on September 30, 1998. 19
  • 20.  To oversee administer Internet resources including  Addresses  Delegating blocks of addresses to the regional registries.  Protocol identifiers  Allocating port numbers, etc.  Names  Administration of the root zone file.  Oversight of the operation of the root name servers. 20
  • 21. 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 21
  • 22. 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. 22
  • 23. 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 23
  • 24. RESOLUTION Mapping a name to an address or an address to a name is called name- address resolution. Types of Resolution:-  Recursive Resolution  Iterative Resolution 24
  • 28.  In the example a client somewhere on the Internet needs the IP address of www.google.com The following events take place:  1.The client contacts NameServer1 with a recursive query for www.google.com. The server must now return either the answer or an error message.  2.NameServer1 checks its cache and zones for the answer, but does not find it, so it contacts a server authoritative for the Internet (that is, a root server ) with an iterative query for www.google.com.  3.The server at the root of the Internet does not know the answer, so it responds with a referral to a server authoritative for the .com domain. 28
  • 29. 4.NameServer1 contacts a server authoritative for the .com domain with an iterative query for www.google.com.  5.The server authoritative for the .com domain does not know the exact answer, so it responds with a referral to a server authoritative for the google.com domain.  6.NameServer1 contacts the server authoritative for the google.com domain with an iterative query for www.google.com.  7.The server authoritative for the google.com domain does know the answer. It responds with the requested IP address.  8.NameServer1 responds to the client query with the IP address for www.google.com. 29
  • 30. DNS MESSAGES The DNS query message consists of a header and question records; the DNS response message consists of a header, question records, answer records, authoritative records, and additional records. 30
  • 32. Query and response messages 32
  • 33. Section Name Description Contains fields that describe the type of message and provide important information about it. Header Also contains fields that indicate the number of entries in the other sections of the message. Carries one or more “questions”, that is, queries for information Question being sent to a DNS name server. 33
  • 34. Section Name Description Carries one or more resource records that answer the Answer question(s) indicated in the Question section above. Contains one or more resource records that point to Authority authoritative name servers that can be used to continue the resolution process. Conveys one or more resource records that contain additional information related to the Additional query that is not strictly necessary to answer the queries (questions) in the message. 34
  • 35.  The system which is in network request a web page to it‟s local server.  The local DNS of that server maintain the details of the local clients connected to it.  From that server the page request forwarded to the DNS of the web content. The request or the query for the particular page is in the name of that local server.  The query first processed by the resolver, it and then forward to the SLAVE NAME SERVER. If the domain name is found in that it will return the IP address to the requested resolver. 35
  • 36.  If the domain name is not found in the particular slave domain it and then forward the detail of the requested resolver and the domain name to the higher name server.  The resolver details should be maintained in each level of name server if that regarding to it‟s own zone.  The several zones are there under one primary name server. The primary name server of zones may be slave name server of another primary name server.  Each and every zone has it‟s unique salve name server. 36
  • 37.  The IP address of the requested page can be directly forwarded from the current name server level., or the address should be returned through the backward direction in the path the request came.  The details of the requested result stored in slave name server. If the IP address in found then the IP address and the domain name stored. Otherwise the negative result be stored. This is caching.  The first thing the slave name server has to do is search the particular domain name in it‟s cached detail. If it is not found then it forward the request to the higher level NS. 37
  • 38. 38
  • 39.  It is based on hierarchical database containing Resourses Records(RRs) that includes IP address and other information about hosts.  Key features:  Variable-depth hierarchy for names  Distributed Database  Distribution controlled by the database. 39
  • 40. 40
  • 41.  Name Servers:  These are server programs that hols information about a protion of the domain name tree structure and the associated RRs.  Resolver.  These are programs that extract information from names servers in response to client request is for an IP address corresponding to a given domain name. 41
  • 42.  The need of DNS is demonstrated here.  Without DNS we can not imagine the internet itself.  The achievement done in the internet and web environment are the branch from the DNS invention. 42
  • 43. 43