SlideShare a Scribd company logo
1 of 11
Domain Name System
Explained
Table of Contents
2
DNS
Uses of DNS
Types of DNS Servers
Steps in a DNS Lookup
Types of DNS Queries
DNS Protocol
DNS Master Files (Zone
Files)
 DNS is the abbreviation for Domain Name System (DNS). It is a decentralized naming system, which is
hierarchical and is meant for resources (computers, services etc.) that are connected to the Internet or to a
private network. Every device that is connected to the Internet has an IP (Internet Protocol) address that is
unique. This IP address is used to find it. DNS refers to the Internet’s system for mapping names that are
alphabetic to IP addresses that are numeric. It is a query/response protocol.
 A Domain Name System does away with the need for memorizing IP addresses. A DNS query is made each
time that a web address is typed into a browser. The outcome leads to the IP address of the associated web
server.
 In the context of web servers, these store the files of websites in order to make websites accessible over the
Internet. Web hosting is the service through which these servers can be availed along with the essential
technologies and services that keep websites accessible. Web hosting is provided by web hosting companies.
The most reliable web hosting companies are usually referred to as the “Best Website Hosting Company”, the
“Best Windows Hosting Company”, the “Top Cloud Hosting Company” etc.
3
DNS
DNS is mainly used for the following purposes-
 Converting hostnames to IP addresses.
 Converting IP addresses to hostnames (inverse or pointer query).
 Transferring information between DNS servers.
 For searching other names’ elements (mail exchange).
4
Uses of DNS
There are four types of DNS servers.These are mentioned below, in no particular order.
 DNS recursor- It is a server that is meant to receive client machines’ queries through applications (web
browsers). It makes additional requests to satisfy the DNS query of the client.
 Root nameserver- It has to do with the initial step in translating or resolving host names into corresponding
IP addresses.
 TLD nameserver- TLD is the abbreviation for Top Level Domain.This nameserver ensures the carrying out
of the next step with regard to the search for a particular IP address. It hosts a hostname’s last portion.
 Authoritative nameserver- It is involved in the final step of a nameserver query. If it has access to the
record that has been requested, it will return the requested hostname’s IP address to the DNS recursor, which
had made the request initially.
5
Types of DNS Servers
6
1-800-123 -8156
Whoa!That’s a big number, aren’t
you proud?
The various steps that are involved in a DNS lookup are mentioned below.
 A user types a particular web address into a browser. A DNS recursive resolver receives the query via the Internet.
 A DNS root nameserver is queried by the resolver.
 The resolver receives the root server’s response, which involves the address of a TLD DNS server. This Top Level Domain
DNS server stores its domain’s information.
 A request is made by the resolver to the TLD.
 The TLD server’s response contains the IP address that belongs to the domain’s nameserver.
 A query is sent by the recursive resolver to the nameserver of the domain.
 The IP address is returned from the nameserver to the resolver.
 The web browser receives the DNS resolver’s response, which contains the IP address of the initially requested domain.
 The completion of the above-mentioned steps, with regard to the process of DNS lookup, returns the IP address. At this stage
the browser is able to request for the web page. The IP address receives a request (HTTP) from the browser. The
corresponding webpage, that is to be rendered in the browser, is returned by the server at that IP address.
7
Steps in a DNS Lookup
A typical DNS lookup entails three types of queries.These are mentioned below.
 Recursive query- In this type of a query, a DNS server responds to the client based on the DNS client’s
requirement. This response contains either the resource record that has been requested or an error message
for the record that the resolver is unable to find.
 Iterative query- In it, the DNS client lets a DNS server return the most appropriate answer. If there isn’t a
match for the query name, the queried DNS server returns a referral for a lower level of the domain
namespace to a DNS server authoritative. Next a query is made by the DNS client to the referral address. This
continues until a timeout occurs or an error happens.
 Non-recursive query- This usually takes place when a DNS server is queried by a DNS resolver client with
regard to a record that is accessible. A DNS server usually caches DNS records to curtail additional bandwidth
consumption as well as load on upstream servers.
8
Types of DNS Queries
Queries and replies are the two types of DNS messages that are used by the DNS protocol. Queries as well as the
replies have a header along with four sections (question, answer, authority, additional space). Each of these sections is
discussed in brief below.
 The header section- It is meant for identification. It serves the purpose of matching responses to queries.
 The flag field- This field has sections that consist of 1 or 4 bits and indicate a message’s type as well as other
information, such as if the nameserver is authoritative, the query is or isn’t recursive, status etc.
 The question section- It contains the type of record that is being resolved as well as the domain name.
 The answer section- This section has the queried name’s resource records. When there are multiple IP
addresses associated with a domain name, then such a domain name may be present in multiple records.
9
DNS Protocol
A text file that is stored on a DNS nameserver and which specifies a single DNS zone’s DNS information is called a
DNS Master File.The data that a DNS Master File contains are mentioned below.
 GlobalTTL (Time to Live)- The duration for keeping records in the local DNS cache.
 Start of Authority (SOA) record- The main authoritative nameserver for a zone.
 One or multiple resource records- Resource records store IP addresses and hostnames along with other
information in DNS nameservers.
10
DNS Master Files (Zone Files)
11
Thanks!
ANY QUESTIONS?
www.htshosting.org

More Related Content

What's hot (20)

Dns
DnsDns
Dns
 
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 And Snmp
Dns And SnmpDns And Snmp
Dns And Snmp
 
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)
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
DNS Record
DNS RecordDNS Record
DNS Record
 
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)
 
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 detail understanding
Dns detail understandingDns detail understanding
Dns detail understanding
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
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
 
Deploying and configuring dns service
Deploying and configuring dns serviceDeploying and configuring dns service
Deploying and configuring dns service
 
Domain name service
Domain name serviceDomain name service
Domain name service
 
Domain naming system
Domain naming systemDomain naming system
Domain naming system
 
DNS Records Explained @ Hackveda
DNS Records Explained @ HackvedaDNS Records Explained @ Hackveda
DNS Records Explained @ Hackveda
 

Similar to Domain Name System Explained

Similar to Domain Name System Explained (20)

Domain name system
Domain name systemDomain name system
Domain name system
 
The Application Layer
The Application LayerThe Application Layer
The Application Layer
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
Dns
DnsDns
Dns
 
How DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An IntroductionHow DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An Introduction
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
Lecture 5- url-dns
Lecture  5- url-dnsLecture  5- url-dns
Lecture 5- url-dns
 
DOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptxDOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptx
 
DNS AND DDNS
DNS AND DDNSDNS AND DDNS
DNS AND DDNS
 
Internet dns introduction
Internet dns introductionInternet dns introduction
Internet dns introduction
 
Domainnamesystem
DomainnamesystemDomainnamesystem
Domainnamesystem
 
What is dns
What is dnsWhat is dns
What is dns
 
Zone in windows server 2012
Zone in windows server 2012Zone in windows server 2012
Zone in windows server 2012
 
Application layer
Application layerApplication layer
Application layer
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Understand DNS Propagation.pdf
Understand DNS Propagation.pdfUnderstand DNS Propagation.pdf
Understand DNS Propagation.pdf
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
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
 
Streamlining DNS Checks in Flutter Apps
Streamlining DNS Checks in Flutter AppsStreamlining DNS Checks in Flutter Apps
Streamlining DNS Checks in Flutter Apps
 

More from HTS Hosting

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress HostingHTS Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingHTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated ServersHTS Hosting
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server PlansHTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated ServersHTS Hosting
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting SolutionsHTS Hosting
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager SetupHTS Hosting
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting PlansHTS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingHTS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreHTS Hosting
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business WebsiteHTS Hosting
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting TermsHTS Hosting
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersHTS Hosting
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingHTS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball ContentsHTS Hosting
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated ServersHTS Hosting
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans HTS Hosting
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansHTS Hosting
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting ServicesHTS Hosting
 

More from HTS Hosting (20)

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server Plans
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting Solutions
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager Setup
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting Plans
 
VPS Hosting
VPS HostingVPS Hosting
VPS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and More
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business Website
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting Terms
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web Servers
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball Contents
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated Servers
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting Plans
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
 

Recently uploaded

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
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
 
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
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Recently uploaded (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
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!
 
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
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"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
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
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)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Domain Name System Explained

  • 2. Table of Contents 2 DNS Uses of DNS Types of DNS Servers Steps in a DNS Lookup Types of DNS Queries DNS Protocol DNS Master Files (Zone Files)
  • 3.  DNS is the abbreviation for Domain Name System (DNS). It is a decentralized naming system, which is hierarchical and is meant for resources (computers, services etc.) that are connected to the Internet or to a private network. Every device that is connected to the Internet has an IP (Internet Protocol) address that is unique. This IP address is used to find it. DNS refers to the Internet’s system for mapping names that are alphabetic to IP addresses that are numeric. It is a query/response protocol.  A Domain Name System does away with the need for memorizing IP addresses. A DNS query is made each time that a web address is typed into a browser. The outcome leads to the IP address of the associated web server.  In the context of web servers, these store the files of websites in order to make websites accessible over the Internet. Web hosting is the service through which these servers can be availed along with the essential technologies and services that keep websites accessible. Web hosting is provided by web hosting companies. The most reliable web hosting companies are usually referred to as the “Best Website Hosting Company”, the “Best Windows Hosting Company”, the “Top Cloud Hosting Company” etc. 3 DNS
  • 4. DNS is mainly used for the following purposes-  Converting hostnames to IP addresses.  Converting IP addresses to hostnames (inverse or pointer query).  Transferring information between DNS servers.  For searching other names’ elements (mail exchange). 4 Uses of DNS
  • 5. There are four types of DNS servers.These are mentioned below, in no particular order.  DNS recursor- It is a server that is meant to receive client machines’ queries through applications (web browsers). It makes additional requests to satisfy the DNS query of the client.  Root nameserver- It has to do with the initial step in translating or resolving host names into corresponding IP addresses.  TLD nameserver- TLD is the abbreviation for Top Level Domain.This nameserver ensures the carrying out of the next step with regard to the search for a particular IP address. It hosts a hostname’s last portion.  Authoritative nameserver- It is involved in the final step of a nameserver query. If it has access to the record that has been requested, it will return the requested hostname’s IP address to the DNS recursor, which had made the request initially. 5 Types of DNS Servers
  • 6. 6 1-800-123 -8156 Whoa!That’s a big number, aren’t you proud?
  • 7. The various steps that are involved in a DNS lookup are mentioned below.  A user types a particular web address into a browser. A DNS recursive resolver receives the query via the Internet.  A DNS root nameserver is queried by the resolver.  The resolver receives the root server’s response, which involves the address of a TLD DNS server. This Top Level Domain DNS server stores its domain’s information.  A request is made by the resolver to the TLD.  The TLD server’s response contains the IP address that belongs to the domain’s nameserver.  A query is sent by the recursive resolver to the nameserver of the domain.  The IP address is returned from the nameserver to the resolver.  The web browser receives the DNS resolver’s response, which contains the IP address of the initially requested domain.  The completion of the above-mentioned steps, with regard to the process of DNS lookup, returns the IP address. At this stage the browser is able to request for the web page. The IP address receives a request (HTTP) from the browser. The corresponding webpage, that is to be rendered in the browser, is returned by the server at that IP address. 7 Steps in a DNS Lookup
  • 8. A typical DNS lookup entails three types of queries.These are mentioned below.  Recursive query- In this type of a query, a DNS server responds to the client based on the DNS client’s requirement. This response contains either the resource record that has been requested or an error message for the record that the resolver is unable to find.  Iterative query- In it, the DNS client lets a DNS server return the most appropriate answer. If there isn’t a match for the query name, the queried DNS server returns a referral for a lower level of the domain namespace to a DNS server authoritative. Next a query is made by the DNS client to the referral address. This continues until a timeout occurs or an error happens.  Non-recursive query- This usually takes place when a DNS server is queried by a DNS resolver client with regard to a record that is accessible. A DNS server usually caches DNS records to curtail additional bandwidth consumption as well as load on upstream servers. 8 Types of DNS Queries
  • 9. Queries and replies are the two types of DNS messages that are used by the DNS protocol. Queries as well as the replies have a header along with four sections (question, answer, authority, additional space). Each of these sections is discussed in brief below.  The header section- It is meant for identification. It serves the purpose of matching responses to queries.  The flag field- This field has sections that consist of 1 or 4 bits and indicate a message’s type as well as other information, such as if the nameserver is authoritative, the query is or isn’t recursive, status etc.  The question section- It contains the type of record that is being resolved as well as the domain name.  The answer section- This section has the queried name’s resource records. When there are multiple IP addresses associated with a domain name, then such a domain name may be present in multiple records. 9 DNS Protocol
  • 10. A text file that is stored on a DNS nameserver and which specifies a single DNS zone’s DNS information is called a DNS Master File.The data that a DNS Master File contains are mentioned below.  GlobalTTL (Time to Live)- The duration for keeping records in the local DNS cache.  Start of Authority (SOA) record- The main authoritative nameserver for a zone.  One or multiple resource records- Resource records store IP addresses and hostnames along with other information in DNS nameservers. 10 DNS Master Files (Zone Files)