hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : A Beginner's Guide to DNS (v0.1)
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

A Beginner's Guide to DNS (v0.1)

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-01-2004, 06:35 PM
000000000 000000000 is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 42

A Beginner's Guide to DNS (v0.1)


Since I started a thread on Managed DNS, I figured it would be nice to do a complementary guide to DNS.

So, here is my Starter Guide to DNS (v0.1). It's not all inclussive, so if you think theres something to add... please add it.

Some Definitions

A Domain Name is a human language representation of an IP address.

An IP Address is what every computer on the internet uses to address itself to the other computers on the the Internet (using the network protocol called TCP/IP. IP (v4) Addresses look like 123.123.123.12

When someone types in a domain name like www.domain.com, their browser communicates with a series of root domain name server that act as a dictionary and provides the IP address associated with that domain name. Then the browser can use that IP to communicate to the server that the website is hosted on.

TLD (or Top Level Domain) is the last part of a domain name... the com, net, org, two letter county domains, and the several other TLDs out there.

SLD (or Second Level Domain) is the most human readable part of the domain name. In a domain name like www.domain.com, domain is the SLD. An SLD can have any alphanumeric character in it (a-z, 0-9), dash or minus ( - ), and underscore ( _ ). But it cannot have spaces between characters.

Sub-Domain (also called third level domains) are technically called Canonical Domains (or CNAMEs) for short. Sub-Domains are like having an extra domain name and can be almost anything you like. In a domain name like subdomain.domain.com, subdomain is the sub-domain. It works the same as a regular domain name.

A-Records (or Address Record) is the basic and most important DNS record. A-records point to an IP address. Your short domain name (without the www), NS, and FTP should have A-records. Subdomains sometimes have A-Records too. A-records can point to any IP-address.

CNAME-Records (or Canonical Domains) include subdomains and Aliases, CNAMEs are used to point to a domain name or to a file in a domain. However, CNAMEs should always point to an A-record, not another CNAME. It is a common practice to create a CNAME for www and for subdomains that are actually hosted by your domain. CNAMES can also be used as temporary aliases to point your domain to another domain.

Note: when pointing a CNAME, always put a period after the domain (ie: ftp -> CNAME -> domain.com.)

MX-Records (or Mail Exchange) point to the name of an email server and holds a preference number for that server. MX-records must point to an A-record or in some situations an IP-address.


Example DNS Record:

Code:
Host Name          IP Address/URL          Record Type	

@                  123.123.123.12          A-Record
www                domain.com.             CNAME

ftp                123.123.123.12          A-Record
mail               123.123.123.12          A-Record
ns1                123.123.123.12          A-Record
ns2                123.123.123.13          A-Record
subdomain1         domain.com.             CNAME
subdomain2         domain.com.             CNAME     

MX-Record: mail -> domain.com. -| Preference = 10     


@ is short domain (domain.com)
Put period after domain name

Reply With Quote


Sponsored Links
  #2  
Old 02-12-2006, 12:48 PM
Bruin03 Bruin03 is offline
Registered User
 
Join Date: Jun 2004
Posts: 137
Good post. This is a useful reference for explain dns settings to your clients

Reply With Quote
  #3  
Old 02-13-2006, 12:22 AM
000000000 000000000 is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 42
Thank you Bruin03

Reply With Quote
Sponsored Links
  #4  
Old 02-18-2006, 04:51 PM
kpank kpank is offline
New Member
 
Join Date: Feb 2006
Posts: 1
well written, cleared some of my doubts for sure

Reply With Quote
  #5  
Old 02-20-2006, 04:24 PM
MarvinH MarvinH is offline
Junior Guru Wannabe
 
Join Date: Jun 2005
Location: Canada
Posts: 47
very nice! I knew all of this before but knowing the proper terms is a bonus !

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Get listed in WHIR Magazine's 6th Annual Hottest Hosts Issue coming in January 2013 Blog 2012-12-28 11:03:01
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Hurricane Electric Offers Online Courses for Developers and Designers Web Hosting News 2011-11-14 21:51:44
Get listed in WHIR Magazine's 5th Annual Hottest Hosts Issue coming in January 2012 Blog 2011-10-18 18:35:27
Web Hosts Contribute to Roadmap for Government Cloud Migration Web Hosting News 2011-07-26 20:35:47


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?