SlideShare una empresa de Scribd logo
1 de 16
HOW DOMAIN NAME SYSTEM 
WORKS 
By: 
Gurkamal Deep Singh Rakhra 
gurkamaldeep@live.com
CONTENTS 
• Definition 
• Devices involved 
• Working 
• Demo
DOMAIN NAME SYSTEM (DEFINITION) 
• The DNS translates Internet domain and host names to IP 
addresses. DNS automatically converts the names we type in 
our Web browser address bar to the IP addresses of Web 
servers hosting those sites. Source 
• We do so because it is easy to remember names than to 
remember long decimal numbers. For example www.uta.edu 
maps to 129.107.56.31
DEVICES INVOLVED 
• DNS Server (it translates easily memorized domain names to 
the numerical IP addresses needed for the purpose of locating 
computer services and devices worldwide). 
• Laptop/PC/mobile phone etc. 
• Main server hosting the site.
WORKING
STEP 1: REQUESTING INFORMATION 
• When we enter the URL in the web browser, the first place our 
computer looks is its local DNS cache, which stores information 
that our computer has recently retrieved. 
• If our computer doesn’t already have it, it needs to perform a 
DNS query to find out.
STEP 2: ASKING RECURSIVE DNS SERVERS 
• If our computer does not have the domain name in its local 
cache, then it requests the DNS server of our ISP. 
• If it has the information, the process ends here and the reply is 
sent back to our computer.
STEP 3: ASKING ROOT NAME SERVER 
• If DNS server does not have the information, then it asks Root 
Name servers. 
• A name server is a computer that answers questions about 
domain names, such as IP addresses. They can direct our query 
to someone that knows where to find it.
STEP 4: ASKING TOP-LEVEL DOMAIN (TLD) NAME 
SERVERS 
The root name servers will look at the first part of our request, 
reading from right to left — www.abc.com — and direct our 
query to the Top-Level Domain (TLD) name servers for .com. 
Each TLD, such as .com, .org, and .us, have their own set of 
name servers, which act like a receptionist for each TLD. 
These servers don’t have the information we need, but they can 
refer us directly to the servers that do have the information. 
PICTURE SOURCE: WWW.MICROSOFT.COM
STEP 5: ASKING AUTHORITATIVE DNS 
SERVER 
• The TLD name servers review the next part of our request — 
www.abc.com — and direct our query to the name servers 
responsible for this specific domain. These authoritative name 
servers are responsible for knowing all the information about a 
specific domain, which are stored in DNS records. 
PICTURE SOURCE: WWW.MICROSOFT.COM
STEP 6: RETRIEVING THE RECORD 
• The recursive server retrieves the record for abc.com from the 
authoritative name servers and stores the record in its local 
cache. If anyone else requests the host record for abc.com, the 
recursive servers will already have the answer and will not need 
to go through the lookup process again. All records have a 
time-to-live(TTL) value, which is like an expiration date.
STEP 7: RECEIVING THE REPLY 
• Recursive server returns the record back to your computer. Our 
computer stores the record in its cache, reads the IP address 
from the record, then passes this information to the browser. 
The browser then opens a connection to the webserver and 
receives the website.
FLOW DIAGRAM 
User 
Recursive DNS server 
Root Name Server 
TLD Name Server 
Authoritative Server
THE WHOLE PROCESS TAKES ONLY 
MILLISECONDS TO COMPLETE.
DEMO
3. That’s in my 
cache. It maps 
to this IP: 
129.107.56.31 
4. Great I’ll 
cache it for 
some time in 
case I get more 
requests. 
1. I need 
directions to 
www.uta.edu 
DNS 
Server 
DNS Server 
5. Thank 
you.

Más contenido relacionado

La actualidad más candente

Domain name system
Domain name systemDomain name system
Domain name system
Diwaker Pant
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
Anand Grewal
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
webhostingguy
 

La actualidad más candente (20)

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
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Domain name service
Domain name serviceDomain name service
Domain name service
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Presentation on dns
Presentation on dnsPresentation on dns
Presentation on dns
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
Dns 2
Dns 2Dns 2
Dns 2
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 
Dns
DnsDns
Dns
 
Domain Name System ppt
Domain Name System pptDomain Name System ppt
Domain Name System ppt
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 

Similar a Domain Name System

Domain name system advanced power point presentation
Domain name system advanced power point presentationDomain name system advanced power point presentation
Domain name system advanced power point presentation
rituchouhan1508
 
Domain name system
Domain name systemDomain name system
Domain name system
Rahul Baghla
 

Similar a Domain Name System (20)

Dns server
Dns serverDns server
Dns server
 
DNS - Jaringan Komputer
DNS - Jaringan KomputerDNS - Jaringan Komputer
DNS - Jaringan Komputer
 
Domain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptxDomain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptx
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
 
10 - Domain Name System.ppt
10 - Domain Name System.ppt10 - Domain Name System.ppt
10 - Domain Name System.ppt
 
What is a domain name system(dns)?
What is a domain name system(dns)?What is a domain name system(dns)?
What is a domain name system(dns)?
 
Dns
DnsDns
Dns
 
Domain name system advanced power point presentation
Domain name system advanced power point presentationDomain name system advanced power point presentation
Domain name system advanced power point presentation
 
How DNS Works.pptx
How DNS Works.pptxHow DNS Works.pptx
How DNS Works.pptx
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Application layer
Application layerApplication layer
Application layer
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
DOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptxDOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptx
 
DNS.docx
DNS.docxDNS.docx
DNS.docx
 
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting BasicsDomain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
 
1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt1.1 DNS.ppt.ppt
1.1 DNS.ppt.ppt
 
Domain name system
Domain name systemDomain name system
Domain name system
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Secure shell (ssh)
Secure shell (ssh)Secure shell (ssh)
Secure shell (ssh)
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
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)
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
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
 
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...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 

Domain Name System

  • 1. HOW DOMAIN NAME SYSTEM WORKS By: Gurkamal Deep Singh Rakhra gurkamaldeep@live.com
  • 2. CONTENTS • Definition • Devices involved • Working • Demo
  • 3. DOMAIN NAME SYSTEM (DEFINITION) • The DNS translates Internet domain and host names to IP addresses. DNS automatically converts the names we type in our Web browser address bar to the IP addresses of Web servers hosting those sites. Source • We do so because it is easy to remember names than to remember long decimal numbers. For example www.uta.edu maps to 129.107.56.31
  • 4. DEVICES INVOLVED • DNS Server (it translates easily memorized domain names to the numerical IP addresses needed for the purpose of locating computer services and devices worldwide). • Laptop/PC/mobile phone etc. • Main server hosting the site.
  • 6. STEP 1: REQUESTING INFORMATION • When we enter the URL in the web browser, the first place our computer looks is its local DNS cache, which stores information that our computer has recently retrieved. • If our computer doesn’t already have it, it needs to perform a DNS query to find out.
  • 7. STEP 2: ASKING RECURSIVE DNS SERVERS • If our computer does not have the domain name in its local cache, then it requests the DNS server of our ISP. • If it has the information, the process ends here and the reply is sent back to our computer.
  • 8. STEP 3: ASKING ROOT NAME SERVER • If DNS server does not have the information, then it asks Root Name servers. • A name server is a computer that answers questions about domain names, such as IP addresses. They can direct our query to someone that knows where to find it.
  • 9. STEP 4: ASKING TOP-LEVEL DOMAIN (TLD) NAME SERVERS The root name servers will look at the first part of our request, reading from right to left — www.abc.com — and direct our query to the Top-Level Domain (TLD) name servers for .com. Each TLD, such as .com, .org, and .us, have their own set of name servers, which act like a receptionist for each TLD. These servers don’t have the information we need, but they can refer us directly to the servers that do have the information. PICTURE SOURCE: WWW.MICROSOFT.COM
  • 10. STEP 5: ASKING AUTHORITATIVE DNS SERVER • The TLD name servers review the next part of our request — www.abc.com — and direct our query to the name servers responsible for this specific domain. These authoritative name servers are responsible for knowing all the information about a specific domain, which are stored in DNS records. PICTURE SOURCE: WWW.MICROSOFT.COM
  • 11. STEP 6: RETRIEVING THE RECORD • The recursive server retrieves the record for abc.com from the authoritative name servers and stores the record in its local cache. If anyone else requests the host record for abc.com, the recursive servers will already have the answer and will not need to go through the lookup process again. All records have a time-to-live(TTL) value, which is like an expiration date.
  • 12. STEP 7: RECEIVING THE REPLY • Recursive server returns the record back to your computer. Our computer stores the record in its cache, reads the IP address from the record, then passes this information to the browser. The browser then opens a connection to the webserver and receives the website.
  • 13. FLOW DIAGRAM User Recursive DNS server Root Name Server TLD Name Server Authoritative Server
  • 14. THE WHOLE PROCESS TAKES ONLY MILLISECONDS TO COMPLETE.
  • 15. DEMO
  • 16. 3. That’s in my cache. It maps to this IP: 129.107.56.31 4. Great I’ll cache it for some time in case I get more requests. 1. I need directions to www.uta.edu DNS Server DNS Server 5. Thank you.