NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Webmaster Tutorials
Reload this Page A Beginner's Guide to DNS (v0.1)

Webmaster Tutorials Instructional webmaster-related how-to's and tutorials.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 10-01-2004, 06:33 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Sep 2004
Posts: 32
000000000 is an unknown quantity at this point
 



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
000000000 is offline  
Old 08-03-2005, 09:04 AM   #2 (permalink)
Senior Member
 
bbalegere's Avatar
Join Date: Jul 2005
Location: Bangalore
Posts: 1,271
bbalegere is just really nicebbalegere is just really nicebbalegere is just really nicebbalegere is just really nicebbalegere is just really nice
 



Now i know all about DNS.This was very helpful.Thankx a lot!!
bbalegere is offline  
Old 08-03-2005, 10:44 PM   #3 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



Well, there's much more to DNS than that...but this is probably all you need to know as a webmaster.
__________________
My Website | My Blog
monaco is offline  
Old 08-05-2005, 12:00 PM   #4 (permalink)
NamePros Member
 
Waupiman's Avatar
Join Date: Jul 2005
Location: Netherlands
Posts: 77
Waupiman is an unknown quantity at this point
 



thanks nice 'tut'
Waupiman is offline  
Old 08-05-2005, 12:08 PM   #5 (permalink)
NamePros Regular
Join Date: Jan 2005
Location: Buffalo, NY
Posts: 622
PE-Steve has a spectacular aura aboutPE-Steve has a spectacular aura about
 




Nice read.
__________________
Buffalo Media Group
► Innovative Website Design & Development
► Search Engine Optimization (SEO) & Internet Marketing
► Logo Design / Corporate Identity & Graphic / Print Design
PE-Steve is offline  
Old 08-05-2005, 12:54 PM   #6 (permalink)
.PJ
NamePros Regular
 
.PJ's Avatar
Join Date: Aug 2004
Posts: 363
.PJ is on a distinguished road
 



Good read, I can referre people to this now when they ask me about DNS and domains

PJ
__________________
L33TSig.net
.PJ is offline  
Old 08-05-2005, 01:07 PM   #7 (permalink)
TSAS Host
 
Iravan's Avatar
Join Date: Jun 2005
Posts: 2,482
Iravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud ofIravan has much to be proud of
 



Nice to Know

Very helpful!
Iravan is offline  
Old 08-05-2005, 10:20 PM   #8 (permalink)
Account Closed
 
Refrozen's Avatar
Join Date: Jun 2005
Posts: 745
Refrozen will become famous soon enoughRefrozen will become famous soon enough
 



Great basic guide! Thanks.
Refrozen is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:29 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger