SlideShare a Scribd company logo
1 of 18
PROBLEM FACED…???
 Identify human - names & id
 Similarly host identified – host name
 Host name like www.yahoo.co.in , www.karunya.edu

 Fully alphanumeric characters – little information – location of host
 Difficult to process by router
 Host are identified by IP address

2
SERVICES PROVIDED BY DNS
 Prefer only alphanumeric characters only
 Routers Support –IP Address
 To solve Translate hostname to IP address

 done by DNS
 distributed database implemented – hierarchy of DNS Servers
 Application layer – host to query the database
 It runs UDP Port & Port 53
 Commonly used with Http , ftp, Smtp

3
HOW ACTUALLY WORKS…?
 https://www.karunya.edu/results through Brower
 First send Web server ,before it have to fetch IP Address of Host
name

 Client Side DNS application
 For that browser extract host name from URL & Send along with
DNS Application
 DNS Application send to hostname to DNS Server & Receive
Reply of IP Address
 Browser receives IP Address from DNS ,initiate Connection with
TCP to the HTTP Server -- Send Web server –fetch Web pages

4
HOST ALIASING

 Suppose rest1.relay.west-coast.enter-prise.com –canonical
hostname
 Aliases are enterpriase.com , www.enterprise.com

 Aliases are easier than original host name

5
LOAD DISTRIBUTION

 Ndtv.com – Breaking News
 Replicated of hostname at Different Servers & Different IP Address

6
STRUCTURE OF DNS

7
 To scale - large of no servers in hierarchical & distributed among
world
 Single Server Can’t do all mapping technique
 Three Classes of DNS Servers
(1) Root DNS Servers
(2) Top level Domain DNS Servers

(3) Authoritative DNS Server

8
ROOT DNS SERVERS
 13 root DNS Servers
 Mostly –North America
 Security & Reliability purpose act as replicated servers

TOP LEVEL DOMAIN SERVER
 .com, .org, .au, .edu, .gov
 Country domains - .in, .uk , .us,.pak
 Company Network Solution maintain – com top level domain
 Company Educause maintains – edu top level domain

9
AUTHORITATIVE DNS SERVER
 Organization host their host name with IP Address – Details are
stored
 Each organization can choose their own authoritative server

 For storing details – cost based

LOCAL DNS SERVER --- NAME SERVER
 Identify near local DNS Server via ISP
 ISP host with IP address of local DNS Server

10
11
DNS CACHING

 Request arrives with Host name for IP address ,Both – Stored in
local memory –DNS Server
 Same Request arrives – provides Desired IP Address
 Cache in formation –discarded – period of time

12
RESOURCE RECORD
(Name,Value,Type,TTL)

 TTL-time to live of resource record
Type-A , Name-host name, Value – IP Address
Type-NS, Name-Domain,Value –Host name of authoritative
DNS Server,know how to obtain IP Address

13
DNS MESSAGE FORMAT

14
 12 bytes in header part followed by four variable length fields
 Identification is set by client and returned by server. It match the
request and response
 QR is a 1-bit field: 0 means the message is a query, 1 means it's a
response.

15
 opcode is a 4-bit field. The normal value is 0 (a standard query). Other
values are 1 (an inverse query) and 2(server status request).
 AA is a 1-bit flag that means "authoritative answer.“
 TC is a 1-bit field that means "truncated.“With UDP this means the
total size of the reply exceeded 512 bytes, and only the first 512 bytes
of the reply was returned.

16
 RD is a 1-bit field that means "recursion desired." This bit can be set
in a query and is then returned in the response. This flag tells the
name server to handle the query itself, called a recursive query. If
the bit is not set, and the requested name server doesn't have an
authoritative answer
 RA is a 1-bit field that means "recursion available." This bit is set to
1 in the response if the server supports recursion.
 There is a 3-bit field that must be 0.

 rcode is a 4-bit field with the return code. The common values are 0
(no error) and 3 (name error).

17
THANKYOU

18

More Related Content

What's hot

Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layerNaiyan Noor
 
Domain name system
Domain name systemDomain name system
Domain name systemDiwaker Pant
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector RoutingShouvikDhali
 
4.file service architecture
4.file service architecture4.file service architecture
4.file service architectureAbDul ThaYyal
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access ProtocolsPruthviraj Konu
 
Transport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingTransport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingKeyur Vadodariya
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSKABILESH RAMAR
 
RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION           RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION AMOGHA A K
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocolsMenaga Selvaraj
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 

What's hot (20)

Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Cs8601 3
Cs8601 3Cs8601 3
Cs8601 3
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Stop and-wait protocol
Stop and-wait protocolStop and-wait protocol
Stop and-wait protocol
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector Routing
 
4.file service architecture
4.file service architecture4.file service architecture
4.file service architecture
 
Dns resource record
Dns resource recordDns resource record
Dns resource record
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access Protocols
 
Transport layer
Transport layer Transport layer
Transport layer
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Transport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingTransport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And Demultiplexing
 
go back n protocol
go back n protocolgo back n protocol
go back n protocol
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
 
RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION           RANDOM ACCESS PROTOCOL IN COMMUNICATION
RANDOM ACCESS PROTOCOL IN COMMUNICATION
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 

Similar to DNS : The internet’s directory service

Similar to DNS : The internet’s directory service (20)

c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptxc5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
c5c1db8d-8375-4f17-bf6a-56ea5342e58d.pptx
 
Dns
DnsDns
Dns
 
Application layer
Application layerApplication layer
Application layer
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Deploying and configuring dns service
Deploying and configuring dns serviceDeploying and configuring dns service
Deploying and configuring dns service
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
3 dns.pptx
3 dns.pptx3 dns.pptx
3 dns.pptx
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
08Mapping.ppt
08Mapping.ppt08Mapping.ppt
08Mapping.ppt
 
Common Network Services
Common Network ServicesCommon Network Services
Common Network Services
 
D.N.S
D.N.SD.N.S
D.N.S
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Dns
DnsDns
Dns
 
DNS AND DDNS
DNS AND DDNSDNS AND DDNS
DNS AND DDNS
 
Dns And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
06 coms 525 tcpip - dhcp and dns
06   coms 525 tcpip - dhcp and dns06   coms 525 tcpip - dhcp and dns
06 coms 525 tcpip - dhcp and dns
 
Internet dns introduction
Internet dns introductionInternet dns introduction
Internet dns introduction
 

Recently uploaded

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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
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
 
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
 
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
 
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
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
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
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Recently uploaded (20)

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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
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
 
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
 
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
 
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
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
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
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

DNS : The internet’s directory service

  • 1.
  • 2. PROBLEM FACED…???  Identify human - names & id  Similarly host identified – host name  Host name like www.yahoo.co.in , www.karunya.edu  Fully alphanumeric characters – little information – location of host  Difficult to process by router  Host are identified by IP address 2
  • 3. SERVICES PROVIDED BY DNS  Prefer only alphanumeric characters only  Routers Support –IP Address  To solve Translate hostname to IP address  done by DNS  distributed database implemented – hierarchy of DNS Servers  Application layer – host to query the database  It runs UDP Port & Port 53  Commonly used with Http , ftp, Smtp 3
  • 4. HOW ACTUALLY WORKS…?  https://www.karunya.edu/results through Brower  First send Web server ,before it have to fetch IP Address of Host name  Client Side DNS application  For that browser extract host name from URL & Send along with DNS Application  DNS Application send to hostname to DNS Server & Receive Reply of IP Address  Browser receives IP Address from DNS ,initiate Connection with TCP to the HTTP Server -- Send Web server –fetch Web pages 4
  • 5. HOST ALIASING  Suppose rest1.relay.west-coast.enter-prise.com –canonical hostname  Aliases are enterpriase.com , www.enterprise.com  Aliases are easier than original host name 5
  • 6. LOAD DISTRIBUTION  Ndtv.com – Breaking News  Replicated of hostname at Different Servers & Different IP Address 6
  • 8.  To scale - large of no servers in hierarchical & distributed among world  Single Server Can’t do all mapping technique  Three Classes of DNS Servers (1) Root DNS Servers (2) Top level Domain DNS Servers (3) Authoritative DNS Server 8
  • 9. ROOT DNS SERVERS  13 root DNS Servers  Mostly –North America  Security & Reliability purpose act as replicated servers TOP LEVEL DOMAIN SERVER  .com, .org, .au, .edu, .gov  Country domains - .in, .uk , .us,.pak  Company Network Solution maintain – com top level domain  Company Educause maintains – edu top level domain 9
  • 10. AUTHORITATIVE DNS SERVER  Organization host their host name with IP Address – Details are stored  Each organization can choose their own authoritative server  For storing details – cost based LOCAL DNS SERVER --- NAME SERVER  Identify near local DNS Server via ISP  ISP host with IP address of local DNS Server 10
  • 11. 11
  • 12. DNS CACHING  Request arrives with Host name for IP address ,Both – Stored in local memory –DNS Server  Same Request arrives – provides Desired IP Address  Cache in formation –discarded – period of time 12
  • 13. RESOURCE RECORD (Name,Value,Type,TTL)  TTL-time to live of resource record Type-A , Name-host name, Value – IP Address Type-NS, Name-Domain,Value –Host name of authoritative DNS Server,know how to obtain IP Address 13
  • 15.  12 bytes in header part followed by four variable length fields  Identification is set by client and returned by server. It match the request and response  QR is a 1-bit field: 0 means the message is a query, 1 means it's a response. 15
  • 16.  opcode is a 4-bit field. The normal value is 0 (a standard query). Other values are 1 (an inverse query) and 2(server status request).  AA is a 1-bit flag that means "authoritative answer.“  TC is a 1-bit field that means "truncated.“With UDP this means the total size of the reply exceeded 512 bytes, and only the first 512 bytes of the reply was returned. 16
  • 17.  RD is a 1-bit field that means "recursion desired." This bit can be set in a query and is then returned in the response. This flag tells the name server to handle the query itself, called a recursive query. If the bit is not set, and the requested name server doesn't have an authoritative answer  RA is a 1-bit field that means "recursion available." This bit is set to 1 in the response if the server supports recursion.  There is a 3-bit field that must be 0.  rcode is a 4-bit field with the return code. The common values are 0 (no error) and 3 (name error). 17