Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Closed Thread
NS Records, DNS, A Records, MX Records and CName Records
Old 03-21-2010, 11:13 AM NS Records, DNS, A Records, MX Records and CName Records
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
It's a bit of an alphabet soup to get your head around isnt it?
This is a pretty good guide
http://www.google.com/support/a/bin/...n&answer=48090

If I have this right, every world wide website must have:

NS Record (2 actually),

and at least one A Record (but usually at least 2, http://example.com and http://www.example.com),

and usually an MX Record (but not necessarily, not all domains have email),

Occasionally there are one or more CName Records (subdomain)

and DNS is the global set of A Records, MX Records and CName together.


Is that correct?
TWD is offline
View Public Profile
 
 
Register now for full access!
Old 03-21-2010, 11:16 AM Re: NS Records, DNS, A Records, MX Records and CName Records
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Ignore my post.

Yes you have it correct
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE



Last edited by lynxus; 03-21-2010 at 11:25 AM..
lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 03-21-2010, 01:46 PM Re: NS Records, DNS, A Records, MX Records and CName Records
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
and at least one A Record (but usually at least 2, http://example.com and http://www.example.com),
Nope, you only need ONE 'A' record to point the hostname to the IP, the www sub can be an alias (CNAME)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-21-2010, 04:02 PM Re: NS Records, DNS, A Records, MX Records and CName Records
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Occasionally there are one or more CName Records (subdomain)
Not necessarily.
I use a cname record for my devs sites against the A record. That way, they stay in sync.
You can basically use a cname for anything you would have used an A for.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
Old 03-21-2010, 07:24 PM Re: NS Records, DNS, A Records, MX Records and CName Records
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
So a CName record is everything that comes in front of example.com?

For example:

Quote:
www.

www.subdomain.

are both CName records?
TWD is offline
View Public Profile
 
Old 03-21-2010, 07:46 PM Re: NS Records, DNS, A Records, MX Records and CName Records
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Not necessarily.

A 'CNAME' is an alias to an 'A' record, but subdomains could be set as an 'A' record.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-21-2010, 09:24 PM Re: NS Records, DNS, A Records, MX Records and CName Records
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Not necessarily.

A 'CNAME' is an alias to an 'A' record, but subdomains could be set as an 'A' record.
You are making my brain ache.

So if a subdomain is set as an 'A' record it wouldn't need a CNAME record?

It would also mean that
Code:
http://subdomain.example.com
works but

Code:
http://example.com
would return "Server not found" in the browser?

Correct?
TWD is offline
View Public Profile
 
Old 03-22-2010, 03:53 PM Re: NS Records, DNS, A Records, MX Records and CName Records
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quite possibly.

EVERY entry for any given hostname could be an 'A' record. However this would make modifications "cumbersome"
Code:
example.com			A	nnn.nnn.nnn.nnn
subdomain.example.com		A	nnn.nnn.nnn.nnn
mail.example.com		A	nnn.nnn.nnn.nnn
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-22-2010, 04:38 PM Re: NS Records, DNS, A Records, MX Records and CName Records
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Quote:
Originally Posted by chrishirst View Post
Quite possibly.

EVERY entry for any given hostname could be an 'A' record. However this would make modifications "cumbersome"
Code:
example.com            A    nnn.nnn.nnn.nnn
subdomain.example.com        A    nnn.nnn.nnn.nnn
mail.example.com        A    nnn.nnn.nnn.nnn

As Chris says,

So, you can see if you had
moo.example.com
test.example.com
etc
etc
etc
etc
all as A records and all pointing to the same ip that the A record for example.com is.

To save time if you update your ip, you would have
moo.example.com as a cname for example.com

then all you do is update the (1) A record for example.com
this owuld then update every other cname at the same time.

Thus no need to update 100's of A records.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 10-17-2010, 10:44 PM Re: NS Records, DNS, A Records, MX Records and CName Records
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
Time to dig up an old thread with a new question.

I have a client who needs to move to a new web host.

Hypothetically, could he keep all his email accounts going on the existing
account and just move his web site by changing the A record on his existing site?
(in effect paying for two hosting accounts - not ideal but is it even possible?).

Usually with a domain registrar we can only edit settings at the DNS level can't we? i.e. at the domain registrar level it is impossible to have A records and MX record pointing to different hosting locations. Is that correct?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE

Last edited by TWD; 10-17-2010 at 10:45 PM..
TWD is offline
View Public Profile
 
Old 10-18-2010, 02:17 AM Re: NS Records, DNS, A Records, MX Records and CName Records
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Hypothetically, could he keep all his email accounts going on the existing
account and just move his web site by changing the A record on his existing site?
(in effect paying for two hosting accounts - not ideal but is it even possible?).
Yes it's possible. I use that myself.
My sites are hosted at one place, and my emails are managed by google, thus an MX record poiting to another location than the A records.

Quote:
Usually with a domain registrar we can only edit settings at the DNS level can't we? i.e. at the domain registrar level it is impossible to have A records and MX record pointing to different hosting locations. Is that correct?
This is highly related to the system, and the interface, the registrar gives you to make your changes.
I use separate entity to register domains and to host them.
Specifically, I use Hexonet for registering and managing DNS, and a small local datacenter with a vps to the hosting.
In the managing area from Hexonet, I have total control over every entry in my
dns zones.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
Old 10-18-2010, 05:20 AM Re: NS Records, DNS, A Records, MX Records and CName Records
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
Quote:
Originally Posted by tripy View Post
Yes it's possible. I use that myself.
My sites are hosted at one place, and my emails are managed by google, thus an MX record poiting to another location than the A records.


This is highly related to the system, and the interface, the registrar gives you to make your changes.
I use separate entity to register domains and to host them.
Specifically, I use Hexonet for registering and managing DNS, and a small local datacenter with a vps to the hosting.
In the managing area from Hexonet, I have total control over every entry in my
dns zones.

Thanks mate. That was very well explained.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
View Public Profile
 
Old 10-19-2010, 04:03 AM Re: NS Records, DNS, A Records, MX Records and CName Records
Suede's Avatar
Experienced Talker

Posts: 32
Trades: 0
good thread, cleared some details for me, tnx
Suede is offline
View Public Profile
 
Old 10-19-2010, 04:46 AM Re: NS Records, DNS, A Records, MX Records and CName Records
~ServerPoint~'s Avatar
Defies a Status

Posts: 1,687
Name: Travis
Trades: 0
Quote:
Thanks mate. That was very well explained.
I believe you always can get in touch with web hosting provider and ask for the help. I believe they will not regret helping you
__________________
ServerPoint.com - a true hosting company since 1998
Web Hosting, colocation,
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
~ServerPoint~ is offline
View Public Profile
 
Closed Thread     « Reply to NS Records, DNS, A Records, MX Records and CName Records
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.06059 seconds with 12 queries