Internet Business Blog
« Previous | Home | Next »

 

Domain Names, Web Sites, and Name Servers (What's DNS all about?)

Share/Bookmark

September 21, 2006

I explain Domain Name Servers and Name Servers to a friend of mine all the time. He builds web sites. I know he's not alone in his confusion; DNS confuses a lot of people. Below is DNS in a nutshell, I hope that this helps you understand how DNS works.

IP Addresses:
The internet works by assigning a unique address to each device attached to it. This address is called an Internet Protocol Address or IP Address for short. It's a 32 bit number that's commonly written as 4 segments or octets (called an octet because each 4th is 8 bits) such as 10.10.1.1 or 216.54.217.22. Each octet can range between 0 and 255. This address works just like your street address: a packet (a chunk of communication between two devices) leaving your computer and heading for Yahoo! moves through the Internet via devices call routers. Just as the name implies, routers route traffic. The router looks at the destination IP Address and knows which way to send the packet. Just like a package you've mailed moves through various post offices and delivery vehicles (the mail man, big mail trucks, airplanes, etc.) your packets of internet traffic move across all types of communication channels (phone lines, cable lines, fiber, etc.) and Internet providers (UUNet, Cogent, Level3, Time-Warner, ATT, Sprint, AboveNet, etc.). It finally arrives at its destination, and in just the same way, it finds its way back based on your IP Address.

The Internet would be much less popular if you had to remember IP Addresses when you wanted to visit a web page. To make it easier, a naming scheme is used. One of my web sites is called http://www.WebSiteTrainingOnline.com and its IP Address is 216.54.217.22. So, how does your computer get the IP Address 216.54.217.22 when you type in the name www.WebSiteTrainingOnline.com? That's what Domain Name Servers do, read on to learn how.

Name Servers:
A Name Server holds the information that relates the IP Addresses for a web site to the names used to access that web site. When I registered the domain name for my web site, I told the registrar the Name Server I was using, I have my own servers, however, most people will use the Name Servers provided by their hosting facility (where they rent the server space for their web site). My Name Server is configured to have a "zone" for my domain and that zone contains records that relate a domain name to an address. There are different types of addresses or "records" too. For example www.WebSiteTrainingOnline.com is at 216.54.217.30, this is called an "A Record", or Address Record. On the other hand, A Mail Record, or "MX Record", is used for the mail server, for example, I have an "A Record" for mail.WebSiteTrainingOnline.com that points to an IP address, and the "MX Record" points to mail.WebSiteTrainingOnline.com. So a mail server will request the MX Record and will get mail.WebSiteTrainingOnline.com and then it can request the IP Address associated to mail.WebSiteTrainingOnline.com and then it can send packets of mail to the mail server for my domain.

Domain Name Servers:
Each Internet Provider has DNS servers (Domain Name Server), as you browse the internet your computer is constantly sending requests to these DNS servers to get IP Addresses for the domain names you type in or the links you click on. A Domain Name Server stores the domain names and associated IP Addresses for an amount of time. If the time specified for caching a domain name and IP Address relationship has passed the DNS server will delete it from its cache. When a request for an IP Address is made, if the DNS server does not have the address in its cache, the DNS Server will make a request to a set of special servers on the internet called Root Servers, that contain the addresses for all the Name Servers and which domain names each one controls. It then sends a request to the name server for that domain to get the IP Address for the domain name and returns it to the computer or device making the original request.

So What's the Difference Between Name Servers and DNS Servers?
A web site's IP Addresses are stored on DNS Servers (Domain Name Server). The exact DNS Server that controls a domain is stored on a Name Server. Root Servers on the Internet are used to find the correct Name Server for a domain. As you browse the Internet, DNS servers provided by your Internet Service Provider, either provide the correct IP address back to your computer from cache, or, look up the Name Server for your domain and then makes query to the correct Name Server to get the IP Address for the domain you're trying to reach.


Finally! Learn the basics of making web sites with my course: Web Site Training Online, which teaches you how to create web sites and use HTML and CSS, even if you have zero knowledge of such things!

Start an Internet Business. Learn how to setup sales pages, create or select a product to sell, create a web site, and process payments with my course: Make Money Online, which teaches you, step by step, everything you need to know to have your own Internet Business and sell products online.

Until next time,
Fred

About the Author

Fred Black is an experienced online business operator, programmer, web site developer, father, husband, musician, and songwriter. Visit his Internet Business Blog at: http://www.pqInternet.com.


You may reprint or distribute this article as long as you leave the content and the About the Author resource box at the end intact.


Get Free Updates! Enter your name and e-mail address to receive a short notice each time I make a new post.

First Name:

Last Name:

E-Mail Address:

E-Mail again:

NOTE: You will receive a confirmation email. You must click the link in the email to activate your free updates. Please check your spam folder(s) if you don't receive the email.


Share/Bookmark

Tip Jar: Leave a Donation

Comments: 2,   TrackBacks: 0.

Posted by Fred on September 21, 2006 | Printer-Friendly

TrackBack: http://www.pqInternet.com/Blog/mt-tb.cgi/4


Assigned Categories: Technology


Related Entries:

 

 
Comments and TrackBacks 
  Comments:
  1. From: Natasha

    Thank you for taking the time to explain that to everyone. I had a general idea of what Domain Name Servers and Name Servers were, but you taught me a few things that I was unaware of.

    Posted by Natasha on August 5, 2010 8:01 AM

  2. From: Julie

    I had no idea that IP numbers and domain names were connected in any way. That's really interesting. Thanks a lot for this post!

    Posted by Julie on August 18, 2010 12:06 PM

 


Post A Comment




Remember personal info?




Comment Policy <--- Read the comment policy (Updated 1/13/2010).

About  Contact  Free Products Fred W. Black

Blog Feeds, EMail, etc.:

Subscribe by EMail

RSS 2.0 Feed for www.pqInternet.com.
Add to Google Toolbar

Free Updates via EMail

Receive Free Updates.

Free Products and Software.

Search

 

Link to Me!

How to Link to this Blog.

Products

Products I Use & Recommend

www.3WayLinks.Net

www.1WayLinks.Net

Free Traffic System

Wordtracker Keyword Research Tool

www.aweber.com Opt-In List Management.

1&1 Hosting

Categories

All

ClickBank

Copywriting

Free Videos

Funny

Internet Business

Internet Marketing

Life

Search Engines: SEO

Social Media

Technology

Traffic

Truth and Freedom

Web Site Design, HTML, CSS

Recent Entries

Facebook Fan Pages and Static FBML Part 3: iFrames!

Facebook Fan Pages and Static FBML Part 2

Facebook Fan Pages and Static FBML - Part 1

Texting Social Media Updates - Useful vs. Useless

Success or Failure in an Internet Business Depends on Who's Looking Back at You in the Mirror...

Bullets from God - The Greatest Copywriter of All Time?

Success is not Sticky - You Have to Hold the BALL!

Birthday Salute!

New Layout

What's the Value of a Link to SEO (Search Engine Optimization)?

Internet Business Ethics 101

Exploding Your Copy (and life) From Sissy to SEISMIC.

Long Tail Keywords

I'm a Slasher!

Start Your Own Home Internet Business with these 7 Easy Steps...

All Entries

Recently Commented On

Mozilla Thunderbird Email Client - Part 2: Corrupted Inbox

Facebook Fan Pages and Static FBML - Part 1

Long Tail Keywords

Bullets from God - The Greatest Copywriter of All Time?

Success is not Sticky - You Have to Hold the BALL!

Success or Failure in an Internet Business Depends on Who's Looking Back at You in the Mirror...

Replacing a ClickBank Vendor's Sales Page with Your Own.

Facebook Fan Pages and Static FBML Part 2

Archives

All

Blog Roll

Clayton Makepeace

Terry Dean

Ryan Healy

ProBlogger

Internet Business Resources Blog

Michel Fortin

G. Brent Riggs

Jonathan Leger

Mark J Ryan

Dr. Joe Vitale

Search Engine Journal

Friday Traffic Report

Links

Cell Phones for Soldiers

Front Street Playschool

Clebe McClary

the IconFactory

Fred Black Music

Daryl Laws Sports Performance Blog

Williams High School Booster Club

Jacob Ingle

Light Peak

EasyIRS.com

Web Hosting

My Recommended Web Hosting Service: 1&1 Hosting

Mugs, Mousepads, etc.

About this Blog...

By:Fred W. Black

Contact Information

Powered by:Movable Type 3.34.

Copyright 2006 -2010, PhaseQuest.Com.
All rights reserved.

Subscribe by EMail RSS 2.0 Feed for www.pqInternet.com.

Add to Google Toolbar
My Facebook Fan Page
Twitter
Add www.pqInternet.com, to Google. Add www.pqInternet.com, to My Yahoo! Add www.pqInternet.com, to My MSN. Subscribe to www.pqInternet.com, with Bloglines Add www.pqInternet.com, to Your Technorati Favorites! Add www.pqInternet.com, to Windows Live

rs

Some photos are by: Lee Hinshaw Photography

© Copyright 2006 - 2010 PhaseQuest, all rights reserved.

 

Get Free Updates!

Insert your name and e-mail address to receive a short notice each time I make a new post.

First Name:

Last Name:

E-Mail Address:

E-Mail again:

NOTE: You will receive a confirmation email. You must click the link in the email to activate your free updates. Please check your spam folder(s) if you don't receive the email.

*I value your privacy and will never sell, rent, giveaway, or abuse your information.