SlideShare a Scribd company logo
1 of 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.

More Related Content

What's hot

Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
webhostingguy
 
Domain name system
Domain name systemDomain name system
Domain name system
Diwaker Pant
 

What's hot (20)

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 server
Dns serverDns server
Dns server
 
Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dns 2
Dns 2Dns 2
Dns 2
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Dns
DnsDns
Dns
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
DNS Record
DNS RecordDNS Record
DNS Record
 
Domain naming system
Domain naming systemDomain naming system
Domain naming system
 
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
 
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
 

Similar to 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 to Domain Name System (20)

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
 
Domain name service
Domain name serviceDomain name service
Domain name service
 
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
 

Recently uploaded

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
kauryashika82
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Recently uploaded (20)

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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

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.