ALL > Computer and Education > courses > university courses > graduate courses > Modern Computer Networking > zstu(2017-2018)class > student homework directory >
ASSIGMENT 2; DNS(DOMAIN NAME SYSTEM) Version 0
šŸ‘¤ Author: by lubegalydgmailcom 2018-01-01 08:34:18
DNS

DNS which stands for domain name system refers to a hierarchical decentralized naming system for computers, services or other resources connected to the internet or a private network. It translates more readily memorized domain names (www.example.com) to the numerical IP addresses (192.168.1.1) needed for locating and identifying computer services and devices with the underlying protocols. Without the DNS, the internet as we know it today would collapse and we would all be licking stamps to pay our bills.

HOW THE DOMAIN NAME SYSTEM (DNS) WORKS

In the web browser let’s say you enter the URL, www.example.com as an example. When you type www.example.com into your address bar, you will actually be looking for ā€˜www.example.com.’ Yes there is a dot (.) at the end of the domain name. ,one that you never see and one that you never type. When you type in ā€˜www.example.com.’, you are actually going to the page www.example.com. That end dot (.) represents the root of the internet’s name space, the Root. Why is it so important? Because this is where it all begins.

When you first search for ’www.example.com.’ your browser and your operating system will first determine if they know what the IP address is already. It could be configured on your computer or it could be in memory called cache, so the browser asks the operating system and they both do not know where ā€˜www.example.com.’ is. What happens next?

The operating system is configured to ask a resolving name server for IP addresses it does not know. This resolving name service is the workhorse of the DNS lookup. It is either configured manually or automatically within your operating system.

Your operating system asks (queries) the resolving name server for ’www.example.com.’ The resolving name server may or may not have this in memory or cache. Let’s assume it does not . The only thing all resolving name servers should know is where to find the root name servers.Ā  That enigmatic dot that appears at the end of every domain name you type into that address bar.

The root name servers will reply with ā€œI do not know, but I do know where to find the .com name servers. Try hereā€. TheĀ com server called the Top Level Domain name server, puts it in its cache, and then goes directly to the COM TLD names server. When the resolving name server queries ’www.example.com.’ , the TLD name server responds , I do not know , but I do know where to find example.com name servers. This next set of servers is the authoritative name servers. So how did the COM TLD name servers know which authoritative name servers to use? With the help of the domain’s registrar. When a domain is purchased the registrar is told which authoritative name serversĀ that the domain should use. They notify the organization responsible for the top level domain (theĀ registry), and tell them to update the TLD name servers.

The resolving name server takes the response from the TLD name server, stores it in its cache, and then queries the ā€˜www.example.com.’ name servers. At this point, theĀ authoritative name server will say ā€˜hey;Ā I know where that is; tell your browser to go to the IP address 192.168.1.1. The resolving name server takes this information from the authoritative name server, puts it in its cache, and gives the reply to the operating system. The operating systemĀ then gives this to the browser and the browser then makes a connection to the IP address requesting the web page for ’www.example.com.’ and you will be able to access it on your computer.

The process seems complex but the whole cycle takes less time than it takes you to blink an eye.

KEY NOTES;

  1. The resolving server

  2. The Root name server

  3. The TLD name server

  4. The Authoritative name servers


Please see the attached video for more elaborate explanation and also a document about DNS.

Resources;

  • https://courses.cs.washington.edu/courses/cse484/07sp/lectures/Lecture12.pdf

  • https://www.youtube.com/watch?v=mpQZVYPuDGU


 

Please login to reply. Login

Reversion History

Loading...
No reversions found.