NetworkClue.com
NetworkClue Home PageHome Contact UsContact ConsultingConsult
Bulletin Board
Internet Services covers Secrets to hosting websites, Hosting your own web server, and using DNS Servers.Operating Systems leads you through the decision of Linux vs. Windows, ideal installations and setups to create an efficient and redundant environment for your business, and great features to make management easier.Routing & Firewalls contains articles that will allow you to take control of your router. Learn how to protect your company with access lists and advanced firewall techniques.Hardware answers the common questions about Switches vs. Hubs, recommends SysAdmin Tools, and recommendations for adequate power protection.Utilities will cover fighting spam, using Anti-Virus programs effectively and the must haves for every administrator's software toolbox.


Bulletin Board

Domain Name Lookup

By Joshua Erdman
Digital Foundation, inc.

You are at your computer and unfortunately you have that advertisement stuck in your head with the little kids chanting "toysrus.com" or something like that. So you decide to look it up and see what all the fuss is about.

After opening the web browser you sing the song to yourself as you type in the address. This is what makes domain name so great they are much easier to remember than a series of numbers, but that is how the Internet actually operates, all by numerical addresses, called IP addresses. What most people do not know is that when you press the enter key after typing in a domain name in your web browser, a lot is happening in that half second before the site you are trying to view is actually displayed.

The domain you typed in is absolutely useless to your computer by itself. But what your PC can do is look up the address from the domain name you gave it by using your ISPs Domain Server on the Internet. Here is what happens:

  1. Your computer first checks its hosts file.  Typically this is located in c:\windows\system32\drivers\etc/hosts for Windows and in /etc/hosts for linux.  If an entry is not listed your computer continues down to step 2.
  2. The Domain Name cache is checked to see if it has looked up this address before. You can clear this cache in Windows by typing: ipconfig /flushdns
  3. Your computer asks one of its assigned DNS servers if it knows the address of the specified domain name.
  4. If the ISP DNS Server does not host the domain or if the domain is not already in the DNS Server cache, the server queries the Internet Top Level Domain Servers to find out what DNS server out on the Internet controls the specified domain (known as the domain's authoritative DNS Server).
  5. The ISP DNS Server then contacts the Authoritative DNS Server and queries for the IP address of the specified domain
  6. Finally the ISP DNS Server caches the answer and gives your computer the correct IP address, then your computer can establish a connection to the correct web server.

This is a typical DNS Resolution Scenario, also known as a lookup. The time it takes for all this to happen is no more than 200 or 300 milliseconds. There are many more facets about domains not mentioned here. Read the article on DNS Records to learn about how the data for these records are created and stored.

You can also use nslookup to perform your own manual DNS resolutions.  It is much more detailed than using the ping utility!

Article last reviewed: 11/13/2006

Created by: Digital Foundation, inc.

Copyright © 2002-2005 Digital Foundation, inc. www.networkclue.com

All content of the NetworkClue website is copyrighted. Articles, notes, outlines, and all other materials may not be stored on the Internet or sold or placed by themselves or with other material in any electronic or printed format in whole or part. However materials may be referenced by links to the site.

 

Related Articles:
DNS ServersDNS Servers
bindBind
Microsoft DNSMS-DNS
DNS RecordsDNS Records
nslookupNSlookup

Books:





Search Amazon for
Books on DNS

 

 

Find your domain name: