Difference between revisions of "DNS resolver"

From CNM Wiki
Jump to: navigation, search
(Name-to-IP-address process)
(Name-to-IP-address process)
Line 6: Line 6:
 
==Name-to-IP-address process==
 
==Name-to-IP-address process==
 
The complete name-to-IP-address process can be described in the following way:
 
The complete name-to-IP-address process can be described in the following way:
#When the user enters a [[host name|domain name]] into a [[web browser]], this browser queries their Internet Service Provider's (ISP) [[DNS resolver]] asking for the [[IP address]].
+
#When the user enters a [[host name|domain name]] into a [[web browser]], this browser queries their ''Resolver'' asking for the [[IP address]].
#The [[DNS resolver]] asks the [[root name server]] where it can find details for that [[host name|domain name]], unless the resolver already has its [[IP address]] data cached.
+
#The ''Resolver'' asks the [[root name server]] where it can find details for that [[host name|domain name]], unless the resolver already has its [[IP address]] data cached.
 
#If it is asked, the [[root name server]] responds what [[TLD nameserver]] handles this data.
 
#If it is asked, the [[root name server]] responds what [[TLD nameserver]] handles this data.
#The [[DNS resolver]] asks the [[TDL nameserver]] where it can find details for the entered [[host name|domain name]], unless it already has the data cached.
+
#The ''Resolver'' asks the [[TDL nameserver]] where it can find details for the entered [[host name|domain name]], unless it already has the data cached.
 
#If it is asked, the [[TLD nameserver]] responds that this data can be found at the [[domain nameserver]]s.
 
#If it is asked, the [[TLD nameserver]] responds that this data can be found at the [[domain nameserver]]s.
#The [[DNS resolver]] asks the [[domain nameserver]]s where it can find details for the needed [[IP address]], unless it already has the data cached.
+
#The ''Resolver'' asks the [[domain nameserver]]s where it can find details for the needed [[IP address]], unless it already has the data cached.
 
#If it is asked, the [[domain nameserver]]s have this data and respond with a [[DNS record]] containing the [[IP address]] for the entered [[host name|domain name]].
 
#If it is asked, the [[domain nameserver]]s have this data and respond with a [[DNS record]] containing the [[IP address]] for the entered [[host name|domain name]].
#The ISP's [[DNS resolver]] sends the identified data back to the [[web browser]]. The name-to-IP-address process has been accomplished. Based on its results, the [[web browser]] points its request to the exact [[IP address]] in order to establish communication between this browser and that domain.
+
#The ''Resolver'' sends the identified data back to the [[web browser]].
 +
The name-to-IP-address process has been accomplished. Based on its results, the [[web browser]] points its request to the exact [[IP address]] in order to establish communication between this browser and that domain.

Revision as of 00:09, 13 January 2019

On the Internet, any DNS resolver (alternatively known as Internet Service Provider's DNS resolver, ISP DNS resolver, or, simply, resolver; hereinafter, the Resolver) is any server that belongs to some Internet Service Provider that moderates any process of translating (resolving) human readable host names into IP addresses that are used in communication between Internet hosts, or vice versa. The Resolvers are an essential part of DNS.

The Resolvers receive requests in the form of a host name from a web browser and request the needed data from root name servers, which are the highest in the hierarchy, if the Resolvers haven't already cached that data. Indeed, the Resolvers not only redirect requests, but also cache the data needed to identify IP addresses.


Name-to-IP-address process

The complete name-to-IP-address process can be described in the following way:

  1. When the user enters a domain name into a web browser, this browser queries their Resolver asking for the IP address.
  2. The Resolver asks the root name server where it can find details for that domain name, unless the resolver already has its IP address data cached.
  3. If it is asked, the root name server responds what TLD nameserver handles this data.
  4. The Resolver asks the TDL nameserver where it can find details for the entered domain name, unless it already has the data cached.
  5. If it is asked, the TLD nameserver responds that this data can be found at the domain nameservers.
  6. The Resolver asks the domain nameservers where it can find details for the needed IP address, unless it already has the data cached.
  7. If it is asked, the domain nameservers have this data and respond with a DNS record containing the IP address for the entered domain name.
  8. The Resolver sends the identified data back to the web browser.

The name-to-IP-address process has been accomplished. Based on its results, the web browser points its request to the exact IP address in order to establish communication between this browser and that domain.