Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Alert!  Have a problem and would like to ask us for help? To learn how to ask your question Click Here!
Stop!  Do you have popups or other malware infecting your computer? If so, Start Here!
Question?  Are you having trouble using this site? Then you should visit the New User Orientation Center!
  


Home · Sections · Popular · New Tutorials

Enter keywords that you would like search our tutorials for:
Please note that all keywords must be 4 or more characters long.

 
 

The Domain Name System
by Bleeping Computer on 19th of Feb 2004   (Views: 45,155)
Print Tutorial Tell a friend
 
Add to del.icio.us! · Submit to reddit! · digg it!

The Domain Name System

Introduction

A key component of the Internet and how it works revolves around the Domain Name System, otherwise known as DNS. The underlying technology behind the Internet, is that when a computer needs to talk to another computer on the Internet, they communicate via the computer's IP Address. The IP Address is a unique set of numbers associated with a particular machine, which will be discussed in a separate article. An example of an IP Address is 216.213.19.27, which is the IP Address that corresponds to www.bleepingcomputer.com.

As the predecessor of the Internet, ARPANET, grew larger, connecting to remote machines by their IP Address grew cumbersome. It became more and more difficult for people to remember the IP Addresses associated with the machines they were trying to reach that a system was created to translate easier to remember symbolic names to their equivalent numerical IP Address. Thus the Domain Name System was born.

Domain Name System

The Domain Name System is the system used on the Internet for the mapping of names, such as www.google.com, to IP Addresses such as 216.239.51.99. Every time a new domain, like bleepingcomputer.com, is registered, that domain is entered into one of the 13 Root Servers spread throughout the world and overseen by an organization called ICANN. Because your domain is in one of these servers, it can be reached and understood by the rest of the users on the Internet.

Another key element of the Domain Name System are DNS Servers run by Companies and Internet Service Providers. Every time you connect to a site, you are asking your ISP's DNS Server to resolve, or convert, the hostname such as www.google.com to a an ip address such as 216.239.51.99. If your ISP's name server is not working or can not be reached, then you will not be able to traverse the Internet using hostnames, but instead would have to use their IP Address equivalent.

Any time you connect to a site, your ISP DNS Server must find out what name server has the information about the domain for the site you are trying to reach. Your ISP's DNS Server will connect to a Root Server and ask it who the name server is that knows the information about the site you are trying to reach. The Root Server will tell your ISP's DNS Server what server they should next contact for information. Next your ISP's DNS Server will then contact the server that the Root Server told it to contact, where it will be given the IP Address associated with the site you are trying to reach.

Real Life Example

A lot of what has been discussed may be a bit confusing, so lets do a real life example. In the flowchart below labeled Figure 1, you will see a computer trying to connect to www.google.com and the steps it takes.

How DNS Works Image

We will discuss these steps below:

  1. A User opens a web browser and tries to connect to www.google.com. The operating system not knowing the IP Address for www.google.com, asks the ISP's DNS Server for this information.
  2. The ISP's DNS Server does not know this information, so it connects to a Root Server to find out what name server, running somewhere in the world, know the information about google.com.
  3. The Root Server tells the ISP's DNS Server to contact a particular name server that knows the information about google.com.
  4. The ISP's DNS Server connects to Google's DNS server and asks for the IP Address for www.google.com.
  5. Google's DNS Server responds to the ISP's DNS server with the appropriate IP Address.
  6. The ISP's DNS Server tells the User's operating system the IP Address for google.com.
  7. The operating system tells the Web Browser the IP Address for www.google.com.
  8. The web browser connects and starts communication with www.google.com.

Conclusion

As you can see, the Domain Name System is essential in the use of the Internet. Without it, you would not be able to type in names, but would have to remember the numerical IP Addresses in order to get anywhere on the Internet. If you have any questions about this tutorial, please feel free to talk about it in the discussion forums.

--
Lawrence Abrams
Bleeping Computer Basic Internet Concepts Series
http://www.bleepingcomputer.com
Source of Original Content, Tutorials, Help and Computer Basics for the beginning or novice computer user.


Add to del.icio.us! · Submit to reddit! · digg it!


Created: February 19th, 2004 at 01:34 pm

This article is published and created for http://www.bleepingcomputer.com, otherwise known as Bleeping Computer, and is covered by all copyright laws. All articles on this website are copyright ©  2003-2008 by Bleeping Computer, LLC. All right reserved. Use of these articles is limited to viewing and printing for personal use only. If you would like to use this material or portions of this material for other purposes you must receive explicit permission from Bleeping Computer before reprinting or redistributing this article in any medium.
Top Top
We have a total of (124) Tutorials in our Database & (19,625,878) Total Views
Google
Web BC



 







Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides


© 2003-2009 All Rights Reserved Bleeping Computer LLC.
PGT: 0.08093 Queries: 8