SlideShare a Scribd company logo
2
Most read
3
Most read
16
Most read
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.

More Related Content

PDF
Asynchronous JavaScript Programming
Haim Michael
 
PDF
Presentation on Domain Name System
Chinmay Joshi
 
PPTX
Node js Introduction
sanskriti agarwal
 
PPTX
Internet
Harjot Singh
 
PPTX
Leadership skills
HarshalPatil242
 
PPTX
HTTP Response Codes | Errors
Siddharth Sharma
 
PDF
DMARC Overview
OWASP Delhi
 
PPTX
Dhcp
Chinmoy Jena
 
Asynchronous JavaScript Programming
Haim Michael
 
Presentation on Domain Name System
Chinmay Joshi
 
Node js Introduction
sanskriti agarwal
 
Internet
Harjot Singh
 
Leadership skills
HarshalPatil242
 
HTTP Response Codes | Errors
Siddharth Sharma
 
DMARC Overview
OWASP Delhi
 

What's hot (20)

PPT
Domain name server
Mobile88
 
PPTX
DNS Security
inbroker
 
PPTX
DNS ( Domain Name System)
Prakhar Rastogi
 
PPTX
Domain name system
Siddharth Chandel
 
PPTX
Domain Name System DNS
Akshay Tiwari
 
PDF
Intro to DNS
ThousandEyes
 
PPT
Dns ppt
Bizuworkk Jemaneh
 
PPT
Domain Name System
Aashima Wadhwa
 
PPT
Chapter 29 Domain Name System.ppt
webhostingguy
 
PDF
DNS - Domain Name System
Peter R. Egli
 
PPTX
DNS(Domain Name System)
Vishal Mittal
 
PPT
Domain Name System
ABDUL GAFOOR K V
 
PPTX
Dns(Domain name system)
Fâhém Ähmêd
 
PPTX
Presentation on dns
Anand Grewal
 
PPTX
Domain name system
mahakant sharma
 
PPTX
Dns server
Subrata Kumer Paul
 
PPTX
Dns 2
Tech_MX
 
PPT
Dns ppt
Mauood Hamidi
 
PDF
Dns security
Dhaval Kapil
 
PDF
Domain Name System (DNS)
Venkatesh Jambulingam
 
Domain name server
Mobile88
 
DNS Security
inbroker
 
DNS ( Domain Name System)
Prakhar Rastogi
 
Domain name system
Siddharth Chandel
 
Domain Name System DNS
Akshay Tiwari
 
Intro to DNS
ThousandEyes
 
Domain Name System
Aashima Wadhwa
 
Chapter 29 Domain Name System.ppt
webhostingguy
 
DNS - Domain Name System
Peter R. Egli
 
DNS(Domain Name System)
Vishal Mittal
 
Domain Name System
ABDUL GAFOOR K V
 
Dns(Domain name system)
Fâhém Ähmêd
 
Presentation on dns
Anand Grewal
 
Domain name system
mahakant sharma
 
Dns server
Subrata Kumer Paul
 
Dns 2
Tech_MX
 
Dns ppt
Mauood Hamidi
 
Dns security
Dhaval Kapil
 
Domain Name System (DNS)
Venkatesh Jambulingam
 
Ad

Similar to Domain Name System (20)

PPTX
COMPUTER COMMUNICATION AND NETWORWING LAB - 06.pptx
hafiz18919
 
PPTX
DNS - Jaringan Komputer
Imam Suharjo
 
PPTX
Domain Name System and Dynamic Host Configuration Protocol.pptx
UsmanAhmed269749
 
PPTX
DNSPresentation.pptx
KailashTayde
 
PPT
10 - Domain Name System.ppt
ssuserf7cd2b
 
PPTX
What is a domain name system(dns)?
Digital Marketing Tatva
 
PPTX
Domain name system presentation
Anchit Dhingra
 
PPT
Domain name system advanced power point presentation
rituchouhan1508
 
PPTX
How DNS Works.pptx
Infosectrain3
 
PPTX
Application layer
Sagar jethi
 
PPTX
Presentation2.pptx
MuhammadNaeem491
 
PPTX
DOMAIN NAME SYSTEM.pptx
KimberlyAbalde
 
DOCX
DNS.docx
gatetesam
 
PPTX
Computer Networks & internet protocols.pptx
jesudossai2
 
PPTX
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Asif Shahzad
 
PPT
1.1 DNS.ppt.ppt
KirthiKanthN
 
PPTX
DNS , SNMP notes of computer network MCA.pptx
SwatiChouhan22
 
PPTX
Domain name system
Rahul Baghla
 
PPT
Domain name service
ishapadhy
 
COMPUTER COMMUNICATION AND NETWORWING LAB - 06.pptx
hafiz18919
 
DNS - Jaringan Komputer
Imam Suharjo
 
Domain Name System and Dynamic Host Configuration Protocol.pptx
UsmanAhmed269749
 
DNSPresentation.pptx
KailashTayde
 
10 - Domain Name System.ppt
ssuserf7cd2b
 
What is a domain name system(dns)?
Digital Marketing Tatva
 
Domain name system presentation
Anchit Dhingra
 
Domain name system advanced power point presentation
rituchouhan1508
 
How DNS Works.pptx
Infosectrain3
 
Application layer
Sagar jethi
 
Presentation2.pptx
MuhammadNaeem491
 
DOMAIN NAME SYSTEM.pptx
KimberlyAbalde
 
DNS.docx
gatetesam
 
Computer Networks & internet protocols.pptx
jesudossai2
 
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Asif Shahzad
 
1.1 DNS.ppt.ppt
KirthiKanthN
 
DNS , SNMP notes of computer network MCA.pptx
SwatiChouhan22
 
Domain name system
Rahul Baghla
 
Domain name service
ishapadhy
 
Ad

Recently uploaded (20)

PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
CDH. pptx
AneetaSharma15
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
CDH. pptx
AneetaSharma15
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
Virus sequence retrieval from NCBI database
yamunaK13
 

Domain Name System

  • 1. HOW DOMAIN NAME SYSTEM WORKS By: Gurkamal Deep Singh Rakhra [email protected]
  • 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.