Login Login

Difference between revisions of "DNS explained"

Your guide to pathway services

Jump to: navigation, search
 
(22 intermediate revisions by one user not shown)
Line 1: Line 1:
#You type 'qwert.us' in the address bar on your browser.
+
The DNS system is a hierarchy of name servers that contain a certain set of entries. Domain names are distributed across these name servers; this ensures that there is an 'even' distribution of load across various name servers that hold thousands of records.
#Your browser requests for an IP address for ‘qwert.us’ from Pathway's DNS servers.     
+
#Pathway's DNS servers respond with the IP address for ‘qwert.us’.
+
  
==== '''The DNS system is a hierarchy of name servers that contain a certain set of entries.'''<br/> ====
 
 
&nbsp;
 
 
Domain names are distributed across these name servers; this ensures that there is an 'even' distribution of load across various name servers that hold thousands of records.
 
  
  
 
+
Understanding parts of a domain name (with the example of ''www.qwert.us''):
Understanding parts of a domain name (with the example of [http://www.qwert.us www.qwert.us]):
+
  
 
&nbsp;
 
&nbsp;
Line 19: Line 11:
 
<span style="font-size:x-large"><span style="font-size:large">'''.us''': &nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;</span>&nbsp;
 
<span style="font-size:x-large"><span style="font-size:large">'''.us''': &nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;</span>&nbsp;
  
This section of a domain name is called a '''TLD '''or a '''top level domain'''. The top level domain (.us in this case) contains all records for domain names that end with '''.us'''. All TLDs are managed by&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root servers. (we will get to root servers in a bit). Similarly, ''.ca'' contains all records for domain names that end with ''.ca''.
+
This section of a domain name is called a '''TLD '''or a '''top level domain'''. The top level domain (''.us'' in this case) contains all records for domain names that end with '''.us'''. All TLDs are managed by root servers (root servers will be further explained below). Similarly, ''.ca'' contains all records for domain names that end with ''.ca''.
  
There are other servers; &nbsp; ''.com'',&nbsp; ''.org'',&nbsp; ''.net'',&nbsp; ''.eu''&nbsp;&nbsp; that manage records for their respective domain names.
+
Other servers, such as; &nbsp; ''.com'',&nbsp; ''.org'',&nbsp; ''.net'',&nbsp; ''.eu,'' &nbsp; manage records for their respective domain names.
  
 
&nbsp;
 
&nbsp;
Line 29: Line 21:
 
In this example, '''qwert''' belongs to the ''.us'' TLD as the name suggests, so the ''.us'' TLD servers will have an entry for '''qwert'''.
 
In this example, '''qwert''' belongs to the ''.us'' TLD as the name suggests, so the ''.us'' TLD servers will have an entry for '''qwert'''.
  
'''qwert''' manages its own DNS records and this only applies to its own domains. For domains like cms.qwert.com and [http://www.google.com/ www.qwert.us]; 'qwert' has records for 'cms' and 'www'.
+
'''qwert''' manages its own DNS records and this only applies to its own domains. For domains like cms.qwert.com and ''www.qwert.us''; 'qwert' has records for 'cms' and 'www'.
  
 
&nbsp;
 
&nbsp;
  
==== '''When you type: ‘cms.qwert.us’, this is what happens:'''<br/> ====
+
When you type: ‘cms.qwert.us’, this is what happens:
  
&nbsp;
+
&nbsp; &nbsp;
  
#Your browser asks Pathway's DNS servers to find out if it knows the IP address of '''cms.qwert.us'''.
+
#Your browser asks Pathway's DNS server to find out if it knows the IP address of '''cms.qwert.us'''.
 
#Pathway's DNS server may respond immediately with an IP address if it remembers the IP address for '''cms.qwert.com'''.
 
#Pathway's DNS server may respond immediately with an IP address if it remembers the IP address for '''cms.qwert.com'''.
#If it does not, Pathway's DNS server looks at the domain name that is represented like this in the DNS system:'''cms.qwert.us.''' (notice the extra period? That is for the root server.)
+
#If it does not, Pathway's DNS server looks at the domain name that is represented like this in the DNS system: '''cms.qwert.us.''' (notice the extra period? That is for the root server.)
  
&nbsp;The '''root server''' (represented by the ‘.’) contains entries for only top level domain (TLD) servers. Root servers only know where the ''.com'' servers are and respond with the IP addresses for the ''.com'' server.In other words, the root servers, represented by ‘'''.'''‘, allow you to locate the ''.com'' servers. The ''.com'' servers contain all entries for domains that end with ''.com''.
 
  
&nbsp;''.us'' servers contain an entry for ''qwert''. These servers do not know where ‘cms.qwert.com’ is so they use Pathway’s DNS servers to fetch the IP address for qwert.us.Pathway's DNS servers fetch the IP address for qwert.us.
 
  
&nbsp;&nbsp;&nbsp;&nbsp; 4. The DNS server queries ''qwert.us'' to find the IP address for ''cms.qwert.us''. qwert keeps its own records on its DNS servers.
+
The '''root server''' (represented by the ‘.’) contains entries for only top level domain (TLD) servers. Root servers only know where the ''.com'' servers are and respond with the IP addresses for the ''.com'' server. In other words, the root servers, represented by ‘'''.'''‘, allow you to locate the ''.com'' servers. The ''.com'' servers contain all entries for domains that end with ''.com''.
  
&nbsp;&nbsp;&nbsp;&nbsp; 5. Finally, Pathway's DNS server gets a response from qwert's DNS server that gives it the correct IP address for cms.qwert.com.
 
  
&nbsp;&nbsp;&nbsp;&nbsp; 6. This takes you to cms.qwert.us.
+
 
 +
''.us'' servers contain an entry for ''qwert''. These servers do not know where ‘cms.qwert.com’ is so they use Pathway’s DNS servers to fetch the IP address for qwert.us.
 +
 
 +
 
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4. The DNS server queries ''qwert.us'' to find the IP address for ''cms.qwert.us''.&nbsp;;qwert keeps its own records on its DNS servers.
 +
 
 +
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 5. Finally, Pathway's DNS server gets a response from qwert's DNS server that gives it the correct IP address for cms.qwert.com.
 +
 
 +
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 6. This takes you to cms.qwert.us.
  
  
Line 55: Line 53:
 
If you own ''qwert.us'', our hosting control panel will allow you to manage your 'own' DNS servers. When users type ''cms.qwert.us ''on their browser, the 'qwert' DNS server will point your users to your mail server.
 
If you own ''qwert.us'', our hosting control panel will allow you to manage your 'own' DNS servers. When users type ''cms.qwert.us ''on their browser, the 'qwert' DNS server will point your users to your mail server.
  
Managing your own DNS servers is completely optional, however, if you choose to, you will have the power and flexibility to make entries and manage your own DNS with Hostpath.  
+
 
 +
 
 +
Managing your own DNS servers is completely optional, however, if you choose to, you will have the power and flexibility to make entries and manage your own DNS with HostPath.
 +
 
 +
 
  
 
You can continue using Pathway's DNS servers and request assistance from technical support to manage or make DNS changes on our behalf should you choose to move your mail and hosting environment to our new infrastructure.
 
You can continue using Pathway's DNS servers and request assistance from technical support to manage or make DNS changes on our behalf should you choose to move your mail and hosting environment to our new infrastructure.

Latest revision as of 10:18, 4 November 2016

The DNS system is a hierarchy of name servers that contain a certain set of entries. Domain names are distributed across these name servers; this ensures that there is an 'even' distribution of load across various name servers that hold thousands of records.


Understanding parts of a domain name (with the example of www.qwert.us):

 

www     .     qwert     .      us

 

.us:        

This section of a domain name is called a TLD or a top level domain. The top level domain (.us in this case) contains all records for domain names that end with .us. All TLDs are managed by root servers (root servers will be further explained below). Similarly, .ca contains all records for domain names that end with .ca.

Other servers, such as;   .com.org.net.eu,   manage records for their respective domain names.

 

qwert:   

In this example, qwert belongs to the .us TLD as the name suggests, so the .us TLD servers will have an entry for qwert.

qwert manages its own DNS records and this only applies to its own domains. For domains like cms.qwert.com and www.qwert.us; 'qwert' has records for 'cms' and 'www'.

 

When you type: ‘cms.qwert.us’, this is what happens:

   

  1. Your browser asks Pathway's DNS server to find out if it knows the IP address of cms.qwert.us.
  2. Pathway's DNS server may respond immediately with an IP address if it remembers the IP address for cms.qwert.com.
  3. If it does not, Pathway's DNS server looks at the domain name that is represented like this in the DNS system: cms.qwert.us. (notice the extra period? That is for the root server.)


The root server (represented by the ‘.’) contains entries for only top level domain (TLD) servers. Root servers only know where the .com servers are and respond with the IP addresses for the .com server. In other words, the root servers, represented by ‘.‘, allow you to locate the .com servers. The .com servers contain all entries for domains that end with .com.


.us servers contain an entry for qwert. These servers do not know where ‘cms.qwert.com’ is so they use Pathway’s DNS servers to fetch the IP address for qwert.us.


       4. The DNS server queries qwert.us to find the IP address for cms.qwert.us. ;qwert keeps its own records on its DNS servers.

       5. Finally, Pathway's DNS server gets a response from qwert's DNS server that gives it the correct IP address for cms.qwert.com.

       6. This takes you to cms.qwert.us.


If you own qwert.us, our hosting control panel will allow you to manage your 'own' DNS servers. When users type cms.qwert.us on their browser, the 'qwert' DNS server will point your users to your mail server.


Managing your own DNS servers is completely optional, however, if you choose to, you will have the power and flexibility to make entries and manage your own DNS with HostPath.


You can continue using Pathway's DNS servers and request assistance from technical support to manage or make DNS changes on our behalf should you choose to move your mail and hosting environment to our new infrastructure.